summaryrefslogtreecommitdiff
path: root/lib/path-concat.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-05 15:08:11 +0000
committerJim Meyering <jim@meyering.net>2000-04-05 15:08:11 +0000
commit4208ee34900ac52b095bc79ffeb329c3a5072059 (patch)
tree4bedc47fc31aec0fa6b0867193b83dbbd7543eec /lib/path-concat.c
parentf7cfce8952b3ceaee3fef23a61c2d178e46dbcbb (diff)
downloadcoreutils-4208ee34900ac52b095bc79ffeb329c3a5072059.tar.xz
Declare strdup.
Diffstat (limited to 'lib/path-concat.c')
-rw-r--r--lib/path-concat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/path-concat.c b/lib/path-concat.c
index fe70f757b..ac2c8b8d5 100644
--- a/lib/path-concat.c
+++ b/lib/path-concat.c
@@ -1,5 +1,5 @@
/* path-concat.c -- concatenate two arbitrary pathnames
- Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -32,6 +32,7 @@
#include <sys/types.h>
char *malloc ();
+char *strdup ();
#ifndef DIRECTORY_SEPARATOR
# define DIRECTORY_SEPARATOR '/'