diff options
Diffstat (limited to 'miscutils/make.c')
-rw-r--r-- | miscutils/make.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/miscutils/make.c b/miscutils/make.c index eddc07126..07d824752 100644 --- a/miscutils/make.c +++ b/miscutils/make.c | |||
@@ -333,19 +333,6 @@ auto_concat(const char *s1, const char *s2) | |||
333 | return auto_string(xasprintf("%s%s", s1, s2)); | 333 | return auto_string(xasprintf("%s%s", s1, s2)); |
334 | } | 334 | } |
335 | 335 | ||
336 | /* | ||
337 | * Append a word to a space-separated string of words. The first | ||
338 | * call should use a NULL pointer for str, subsequent calls should | ||
339 | * pass an allocated string which will be freed. | ||
340 | */ | ||
341 | static char * | ||
342 | xappendword(const char *str, const char *word) | ||
343 | { | ||
344 | char *newstr = str ? xasprintf("%s %s", str, word) : xstrdup(word); | ||
345 | free((void *)str); | ||
346 | return newstr; | ||
347 | } | ||
348 | |||
349 | static unsigned int | 336 | static unsigned int |
350 | getbucket(const char *name) | 337 | getbucket(const char *name) |
351 | { | 338 | { |