From: Sami Kerola Date: Sat, 12 Feb 2011 22:07:57 +0000 (+0100) Subject: fix to safe_strdup prototype. X-Git-Tag: v2.14~3 X-Git-Url: http://git.asbjorn.biz/?p=debian%2Fdhcpd-pools.git;a=commitdiff_plain;h=ed2266424d1803bcfb7fc4dacde1936765b10c4a fix to safe_strdup prototype. Signed-off-by: Sami Kerola --- diff --git a/src/dhcpd-pools.h b/src/dhcpd-pools.h index a17c6b8..5982ba3 100644 --- a/src/dhcpd-pools.h +++ b/src/dhcpd-pools.h @@ -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... */ diff --git a/src/other.c b/src/other.c index 60406e5..b5b9290 100644 --- a/src/other.c +++ b/src/other.c @@ -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);