summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-28 19:29:17 +0000
committerJim Meyering <jim@meyering.net>2005-03-28 19:29:17 +0000
commit15669cf4e1c2665c2f723d01c6460b79b53a9828 (patch)
treeed60540106df19248bd6ba956fef9f8539d6d387 /src
parentf00c1cbeb85e49773928767e118a012298fa6619 (diff)
downloadcoreutils-15669cf4e1c2665c2f723d01c6460b79b53a9828.tar.xz
(ds_init): Add `void' to make this an ANSI-style function declaration.
Diffstat (limited to 'src')
-rw-r--r--src/remove.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remove.c b/src/remove.c
index c54b5eac9..4d599522a 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -1,5 +1,5 @@
/* remove.c -- core functions for removing files and directories
- Copyright (C) 88, 90, 91, 1994-2004 Free Software Foundation, Inc.
+ Copyright (C) 88, 90, 91, 1994-2005 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
@@ -153,7 +153,7 @@ struct cwd_state
};
static Dirstack_state *
-ds_init ()
+ds_init (void)
{
Dirstack_state *ds = xmalloc (sizeof *ds);
obstack_init (&ds->dir_stack);