summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-18 07:52:28 +0000
committerJim Meyering <jim@meyering.net>2003-06-18 07:52:28 +0000
commitde4077cbe314db0e1ec4089b32232337b5aa760c (patch)
tree516400d27cd7fde392712a69622114cff9171bc1 /lib
parent33a46de4adc4988b90a43d657d037120a6953c32 (diff)
downloadcoreutils-de4077cbe314db0e1ec4089b32232337b5aa760c.tar.xz
(PARAMS): Remove. All uses removed.
Do not include config.h; no longer needed. Anyway, config.h should always be included before any other file.
Diffstat (limited to 'lib')
-rw-r--r--lib/memcoll.h14
-rw-r--r--lib/modechange.h20
-rw-r--r--lib/physmem.h16
3 files changed, 7 insertions, 43 deletions
diff --git a/lib/memcoll.h b/lib/memcoll.h
index b42cfa6f2..33f1e4940 100644
--- a/lib/memcoll.h
+++ b/lib/memcoll.h
@@ -1,20 +1,8 @@
#ifndef MEMCOLL_H_
# define MEMCOLL_H_ 1
-# if HAVE_CONFIG_H
-# include <config.h>
-# endif
-
# include <stddef.h>
-# ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-# endif
-
-int memcoll PARAMS ((char *, size_t, char *, size_t));
+int memcoll (char *, size_t, char *, size_t);
#endif /* MEMCOLL_H_ */
diff --git a/lib/modechange.h b/lib/modechange.h
index 922f85ab4..2e2e3ed5c 100644
--- a/lib/modechange.h
+++ b/lib/modechange.h
@@ -20,10 +20,6 @@
#if ! defined MODECHANGE_H_
# define MODECHANGE_H_
-# if HAVE_CONFIG_H
-# include <config.h>
-# endif
-
# include <sys/types.h>
/* Affect the execute bits only if at least one execute bit is set already,
@@ -55,17 +51,9 @@ struct mode_change
# define MODE_MEMORY_EXHAUSTED (struct mode_change *) 1
# define MODE_BAD_REFERENCE (struct mode_change *) 2
-# ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-# endif
-
-struct mode_change *mode_compile PARAMS ((const char *, unsigned));
-struct mode_change *mode_create_from_ref PARAMS ((const char *));
-mode_t mode_adjust PARAMS ((mode_t, const struct mode_change *));
-void mode_free PARAMS ((struct mode_change *));
+struct mode_change *mode_compile (const char *, unsigned);
+struct mode_change *mode_create_from_ref (const char *);
+mode_t mode_adjust (mode_t, const struct mode_change *);
+void mode_free (struct mode_change *);
#endif
diff --git a/lib/physmem.h b/lib/physmem.h
index d9a98096f..e0411c58c 100644
--- a/lib/physmem.h
+++ b/lib/physmem.h
@@ -1,19 +1,7 @@
#ifndef PHYSMEM_H_
# define PHYSMEM_H_ 1
-# if HAVE_CONFIG_H
-# include <config.h>
-# endif
-
-# ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-# endif
-
-double physmem_total PARAMS ((void));
-double physmem_available PARAMS ((void));
+double physmem_total (void);
+double physmem_available (void);
#endif /* PHYSMEM_H_ */