mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 00:06:59 +00:00
fix to safe_strdup prototype.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
fdcfcd12d3
commit
ed2266424d
2 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ int do_counting (void);
|
|||
void flip_ranges(struct range_t *ranges, struct range_t *tmp_ranges);
|
||||
/* General support functions */
|
||||
void *safe_malloc (const size_t size);
|
||||
inline char *safe_strdup(const char *str);
|
||||
char *safe_strdup(const char *str);
|
||||
void print_version (void);
|
||||
void usage (int status);
|
||||
/* qsort required functions... */
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ void *safe_malloc(const size_t size)
|
|||
}
|
||||
|
||||
/* Simple strdup wrapper */
|
||||
inline char *safe_strdup(const char *str)
|
||||
char *safe_strdup(const char *str)
|
||||
{
|
||||
char *ret = strdup(str);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue