summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-04-07 01:43:44 +0000
committerPaul Smith <psmith@gnu.org>2006-04-07 01:43:44 +0000
commitf222b19158a91b121af29a6a8eb5d74aa591078a (patch)
treedffe00254df4fae89052c3a7af1eb0c92392d03f /dir.c
parent776d8b7bc2ff83f8ebf5d357ec89e3bbe6d83962 (diff)
downloadgunmake-f222b19158a91b121af29a6a8eb5d74aa591078a.tar.gz
Code cleanup: Remove all references to PARAMS() & ansi2knr.
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/dir.c b/dir.c
index f72ce42..d88d097 100644
--- a/dir.c
+++ b/dir.c
@@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
# include <dirent.h>
# define NAMLEN(dirent) strlen((dirent)->d_name)
# ifdef VMS
-extern char *vmsify PARAMS ((char *name, int type));
+char *vmsify (char *name, int type);
# endif
#else
# define dirent direct
@@ -411,8 +411,8 @@ dirfile_hash_cmp (const void *xv, const void *yv)
#define DIRFILE_BUCKETS 107
#endif
-static int dir_contents_file_exists_p PARAMS ((struct directory_contents *dir, char *filename));
-static struct directory *find_directory PARAMS ((char *name));
+static int dir_contents_file_exists_p (struct directory_contents *dir, char *filename);
+static struct directory *find_directory (char *name);
/* Find the directory named NAME and return its `struct directory'. */
@@ -1092,8 +1092,8 @@ struct dirstream
};
/* Forward declarations. */
-static __ptr_t open_dirstream PARAMS ((const char *));
-static struct dirent *read_dirstream PARAMS ((__ptr_t));
+static __ptr_t open_dirstream (const char *);
+static struct dirent *read_dirstream (__ptr_t);
static __ptr_t
open_dirstream (const char *directory)
@@ -1180,7 +1180,7 @@ ansi_free (void *p)
*/
#ifndef stat
# ifndef VMS
-extern int stat PARAMS ((const char *path, struct stat *sbuf));
+int stat (const char *path, struct stat *sbuf);
# endif
# define local_stat stat
#else