]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(PARAMS): Remove. All uses removed.
authorJim Meyering <jim@meyering.net>
Wed, 18 Jun 2003 07:57:26 +0000 (07:57 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 18 Jun 2003 07:57:26 +0000 (07:57 +0000)
lib/mountlist.h
lib/path-concat.h
lib/posixtm.h
lib/quote.h
lib/readutmp.h
lib/savedir.h
lib/strtoimax.c
lib/unistd-safer.h
lib/version-etc.h
lib/xreadlink.h
lib/xstrtod.h

index 8aab8ff9599d8f8d6393641ffb8a44db2a26294d..0eb2951867bb8c1c2d7d702b38c9ac8d5f1165bd 100644 (file)
@@ -27,15 +27,7 @@ struct mount_entry
   struct mount_entry *me_next;
 };
 
-#ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#  define PARAMS(Args) Args
-# else
-#  define PARAMS(Args) ()
-# endif
-#endif
-
-struct mount_entry *read_filesystem_list PARAMS ((int need_fs_type));
+struct mount_entry *read_filesystem_list (int need_fs_type);
 
 #ifndef ME_DUMMY
 # define ME_DUMMY(Fs_name, Fs_type) \
index 8e2c228831d65cff46539c77a60ee75f71fe7925..c028f4a087a54a8f563bd7a468796acbcdbb120e 100644 (file)
@@ -1,15 +1,6 @@
 #if ! defined PATH_CONCAT_H_
 # define PATH_CONCAT_H_
 
-# ifndef PARAMS
-#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#   define PARAMS(Args) Args
-#  else
-#   define PARAMS(Args) ()
-#  endif
-# endif
-
-char *
-path_concat PARAMS ((const char *dir, const char *base, char **base_in_result));
+char *path_concat (const char *dir, const char *base, char **base_in_result);
 
 #endif
index 6b64a6eac4efcfe804abc567333480816b6ed851..1105478b950aaa2695e913e649ae46a4407abf98 100644 (file)
@@ -7,15 +7,6 @@
 # define PDS_CENTURY 4
 # define PDS_SECONDS 8
 
-# ifndef PARAMS
-#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#   define PARAMS(Args) Args
-#  else
-#   define PARAMS(Args) ()
-#  endif
-# endif
-
-bool
-posixtime PARAMS ((time_t *p, const char *s, unsigned int syntax_bits));
+bool posixtime (time_t *p, const char *s, unsigned int syntax_bits);
 
 #endif
index c750b1e7b545d56894782f948d05898f8e76d5b0..058e6b55c8ae91a3cc963f940dc24d38718ad59b 100644 (file)
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 
-#ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#  define PARAMS(Args) Args
-# else
-#  define PARAMS(Args) ()
-# endif
-#endif
-
-char const *quote_n PARAMS ((int n, char const *name));
-char const *quote PARAMS ((char const *name));
+char const *quote_n (int n, char const *name);
+char const *quote (char const *name);
index 3d60b8240aefde2e41917afade688d27a39feecf..d17860154d8401f25b2cd737f48aaa679d26a093 100644 (file)
 #ifndef __READUTMP_H__
 # define __READUTMP_H__
 
-# ifndef PARAMS
-#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#   define PARAMS(Args) Args
-#  else
-#   define PARAMS(Args) ()
-#  endif
-# endif
-
 # include <sys/types.h>
 
 /* AIX 4.3.3 has both utmp.h and utmpx.h, but only struct utmp
@@ -184,15 +176,7 @@ extern int errno;
 #  define WTMP_FILE "/etc/wtmp"
 # endif
 
-# undef PARAMS
-# if defined (__STDC__) && __STDC__
-#  define PARAMS(Args) Args
-# else
-#  define PARAMS(Args) ()
-# endif
-
-extern char *extract_trimmed_name PARAMS ((const STRUCT_UTMP *ut));
-extern int read_utmp PARAMS ((const char *filename,
-                             int *n_entries, STRUCT_UTMP **utmp_buf));
+char *extract_trimmed_name (const STRUCT_UTMP *ut);
+int read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf);
 
 #endif /* __READUTMP_H__ */
index 03b41f5b055516fab30ec42d6330647c16e352d1..c99b1a8eef8c34846945b3f1519b68c7bda59610 100644 (file)
@@ -1,14 +1,6 @@
 #if !defined SAVEDIR_H_
 # define SAVEDIR_H_
 
-# ifndef PARAMS
-#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#   define PARAMS(Args) Args
-#  else
-#   define PARAMS(Args) ()
-#  endif
-# endif
-
-char *savedir PARAMS ((const char *dir));
+char *savedir (const char *dir);
 
 #endif
index 23c8eb66c76f19e41fc0ad428b1f9bc7e0732219..6b0ba7be000d870755d048cd31a9e1bd9294cbb0 100644 (file)
 # include <stdlib.h>
 #endif
 
-#ifndef PARAMS
-# if defined PROTOTYPES || defined __STDC__
-#  define PARAMS(Args) Args
-# else
-#  define PARAMS(Args) ()
-# endif
-#endif
-
 /* Verify a requirement at compile-time (unlike assert, which is runtime).  */
 #define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; }
 
 "this configure-time declaration test was not run"
 # endif
 # if !HAVE_DECL_STRTOUL
-unsigned long strtoul PARAMS ((char const *, char **, int));
+unsigned long strtoul (char const *, char **, int);
 # endif
 # ifndef HAVE_DECL_STRTOULL
 "this configure-time declaration test was not run"
 # endif
 # if !HAVE_DECL_STRTOULL && HAVE_UNSIGNED_LONG_LONG
-unsigned long long strtoull PARAMS ((char const *, char **, int));
+unsigned long long strtoull (char const *, char **, int);
 # endif
 
 #else
@@ -62,13 +54,13 @@ unsigned long long strtoull PARAMS ((char const *, char **, int));
 "this configure-time declaration test was not run"
 # endif
 # if !HAVE_DECL_STRTOL
-long strtol PARAMS ((char const *, char **, int));
+long strtol (char const *, char **, int);
 # endif
 # ifndef HAVE_DECL_STRTOLL
 "this configure-time declaration test was not run"
 # endif
 # if !HAVE_DECL_STRTOLL && HAVE_UNSIGNED_LONG_LONG
-long long strtoll PARAMS ((char const *, char **, int));
+long long strtoll (char const *, char **, int);
 # endif
 #endif
 
index 1b6a0f7615ee1b9b958569a41f2f4f5d6f3be33e..b39ffc8210a78d4d9235f1a0c383690323f0fa4c 100644 (file)
@@ -1,9 +1 @@
-#ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#  define PARAMS(Args) Args
-# else
-#  define PARAMS(Args) ()
-# endif
-#endif
-
-int dup_safer PARAMS ((int));
+int dup_safer (int);
index ae223d44e5a46b6ef2528a6303b77072cb371aa4..de1a76f8fb25dbcb82c578e18fa78acb7194b643 100644 (file)
 #ifndef VERSION_ETC_H
 # define VERSION_ETC_H 1
 
-# ifndef PARAMS
-#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#   define PARAMS(Args) Args
-#  else
-#   define PARAMS(Args) ()
-#  endif
-# endif
-
 extern char *version_etc_copyright;
 
-void
-version_etc PARAMS ((FILE *stream,
-                    const char *command_name, const char *package,
-                    const char *version, const char *authors));
+void version_etc (FILE *stream,
+                 const char *command_name, const char *package,
+                 const char *version, const char *authors);
 
 #endif /* VERSION_ETC_H */
index e506a2555587ba26068c1753bcbe694ddeefb28d..4181a85ccbf57d9942b4dc408e07ce555f1792f5 100644 (file)
@@ -1,9 +1 @@
-#ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#  define PARAMS(Args) Args
-# else
-#  define PARAMS(Args) ()
-# endif
-#endif
-
-char *xreadlink PARAMS ((char const *));
+char *xreadlink (char const *);
index d286d6f55825a5ad00e5612ca8f2cb3436813451..7af233b2e4fde1084a84f7ec3fdd8175e1c66956 100644 (file)
@@ -1,15 +1,6 @@
 #ifndef XSTRTOD_H
 # define XSTRTOD_H 1
 
-# ifndef PARAMS
-#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#   define PARAMS(Args) Args
-#  else
-#   define PARAMS(Args) ()
-#  endif
-# endif
-
-int
-  xstrtod PARAMS ((const char *str, const char **ptr, double *result));
+int xstrtod (const char *str, const char **ptr, double *result);
 
 #endif /* not XSTRTOD_H */