fix to safe_strdup prototype.
authorSami Kerola <kerolasa@iki.fi>
Sat, 12 Feb 2011 22:07:57 +0000 (23:07 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 12 Feb 2011 22:07:57 +0000 (23:07 +0100)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>

src/dhcpd-pools.h
src/other.c

index a17c6b8..5982ba3 100644 (file)
@@ -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... */
index 60406e5..b5b9290 100644 (file)
@@ -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);