fix to safe_strdup prototype.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-02-12 23:07:57 +01:00
parent fdcfcd12d3
commit ed2266424d
2 changed files with 2 additions and 2 deletions

View 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... */

View 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);