summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-03-19 04:27:56 +0000
committerPaul Smith <psmith@gnu.org>1999-03-19 04:27:56 +0000
commit1e0513335f560b6d9530fd7010108bf14790ba93 (patch)
tree16ced5095aaeb48ceabd53f0b697065938b4705b /misc.c
parente3d0d562dac042d725dc2060f760132f6b549678 (diff)
downloadgunmake-1e0513335f560b6d9530fd7010108bf14790ba93.tar.gz
* Add strneq() (streq only n chars) macro
* fix return type of xstrdup.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 505b186..451a675 100644
--- a/misc.c
+++ b/misc.c
@@ -379,7 +379,7 @@ xrealloc (ptr, size)
}
-const char *
+char *
xstrdup (ptr)
const char *ptr;
{