From ed2266424d1803bcfb7fc4dacde1936765b10c4a Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 12 Feb 2011 23:07:57 +0100 Subject: [PATCH] fix to safe_strdup prototype. Signed-off-by: Sami Kerola --- src/dhcpd-pools.h | 2 +- src/other.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.4