diff options
author | Jim Meyering <jim@meyering.net> | 2000-06-06 16:41:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-06-06 16:41:39 +0000 |
commit | 949d0ef45928323ed3e752f782b56de150f400e4 (patch) | |
tree | 4b4cb427d78bdbf6f7ec817c8ff5ae9123ad6db4 /libidu | |
parent | 4e7272bae5a7cf56a60e234dc34de837db788209 (diff) | |
download | idutils-949d0ef45928323ed3e752f782b56de150f400e4.tar.gz idutils-949d0ef45928323ed3e752f782b56de150f400e4.tar.bz2 idutils-949d0ef45928323ed3e752f782b56de150f400e4.zip |
Declare strsep if necessary.
Diffstat (limited to 'libidu')
-rw-r--r-- | libidu/idfile.c | 9 | ||||
-rw-r--r-- | libidu/scanners.c | 9 | ||||
-rw-r--r-- | libidu/walker.c | 9 |
3 files changed, 24 insertions, 3 deletions
diff --git a/libidu/idfile.c b/libidu/idfile.c index 1b46ab7..cabc18d 100644 --- a/libidu/idfile.c +++ b/libidu/idfile.c @@ -1,5 +1,5 @@ /* idfile.c -- read & write mkid database file header - Copyright (C) 1986, 1995, 1996, 1999 Free Software Foundation, Inc. + Copyright (C) 1986, 1995, 1996, 1999, 2000 Free Software Foundation, Inc. Written by Greg McGary <gkm@gnu.ai.mit.edu> This program is free software; you can redistribute it and/or modify @@ -28,6 +28,13 @@ #include "idfile.h" #include "error.h" +#ifndef HAVE_DECL_STRSEP +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_STRSEP +char *strsep (); +#endif + int io_size __P((FILE *, void *, unsigned int size, int)); diff --git a/libidu/scanners.c b/libidu/scanners.c index 261837a..9c4331a 100644 --- a/libidu/scanners.c +++ b/libidu/scanners.c @@ -1,5 +1,5 @@ /* scanners.c -- file & directory name manipulations - Copyright (C) 1986, 1995, 1996, 1999 Free Software Foundation, Inc. + Copyright (C) 1986, 1995, 1996, 1999, 2000 Free Software Foundation, Inc. Written by Greg McGary <gkm@gnu.ai.mit.edu> This program is free software; you can redistribute it and/or modify @@ -34,6 +34,13 @@ #include "scanners.h" #include "tokflags.h" +#ifndef HAVE_DECL_STRSEP +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_STRSEP +char *strsep (); +#endif + #define DEBUG(args) /* printf args */ struct obstack lang_args_obstack; diff --git a/libidu/walker.c b/libidu/walker.c index 6584179..c1c5bb6 100644 --- a/libidu/walker.c +++ b/libidu/walker.c @@ -1,5 +1,5 @@ /* walker.c -- nifty file-tree walker - Copyright (C) 1986, 1995, 1996, 1999 Free Software Foundation, Inc. + Copyright (C) 1986, 1995, 1996, 1999, 2000 Free Software Foundation, Inc. Written by Greg McGary <gkm@gnu.ai.mit.edu> This program is free software; you can redistribute it and/or modify @@ -35,6 +35,13 @@ #include "pathmax.h" #include "xalloca.h" +#ifndef HAVE_DECL_STRSEP +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_STRSEP +char *strsep (); +#endif + int walker_verbose_flag = 0; off_t largest_member_file = 0; |