git.asbjorn.biz
/
debian
/
dhcpd-pools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdcfcd1
)
fix to safe_strdup prototype.
author
Sami Kerola
<kerolasa@iki.fi>
Sat, 12 Feb 2011 22:07:57 +0000
(23:07 +0100)
committer
Sami 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
patch
|
blob
|
history
src/other.c
patch
|
blob
|
history
diff --git
a/src/dhcpd-pools.h
b/src/dhcpd-pools.h
index
a17c6b8
..
5982ba3
100644
(file)
--- 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
(file)
--- 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);