X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fbackupfile.c;h=100e0a53b38fbccd4d64610a0a47afbc6a76002f;hb=aea4e23fb4961083da578e818b2bb23a3ef18447;hp=7f4da17fcadc96cc973eaa336d235257571e7900;hpb=f69e37cf7414867d8e360733c7b0f77c431b915c;p=gnulib.git diff --git a/lib/backupfile.c b/lib/backupfile.c index 7f4da17fc..100e0a53b 100644 --- a/lib/backupfile.c +++ b/lib/backupfile.c @@ -1,5 +1,5 @@ /* backupfile.c -- make Emacs style backup file names - Copyright (C) 1990-1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1990-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 @@ -58,16 +58,24 @@ # define CLOSEDIR(d) closedir (d) #endif -#if STDC_HEADERS +#if HAVE_STDLIB_H # include -#else -char *malloc (); #endif #ifndef HAVE_DECL_GETENV +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_GETENV char *getenv (); #endif +#ifndef HAVE_DECL_MALLOC +"this configure-time declaration test was not run" +#endif +#if !HAVE_DECL_MALLOC +char *malloc (); +#endif + char *base_name PARAMS ((char const *)); #if HAVE_DIRENT_H || HAVE_NDIR_H || HAVE_SYS_DIR_H || HAVE_SYS_NDIR_H