diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2003-06-18 05:52:19 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2003-06-18 05:52:19 +0000 |
commit | 68af56be3e061b97cf97150094bc50b0aa364cbb (patch) | |
tree | bdb72b16dd6b1992a31fe7bab628b23efb870a5f /lib/dirname.h | |
parent | c947ae968b9fdb7a65f1481b7c7ec68e6a0d3abc (diff) | |
download | gnulib-68af56be3e061b97cf97150094bc50b0aa364cbb.tar.gz |
Assume C89, so PARAMS isn't needed.
Diffstat (limited to 'lib/dirname.h')
-rw-r--r-- | lib/dirname.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/lib/dirname.h b/lib/dirname.h index 4f794ee484..62da37dc9a 100644 --- a/lib/dirname.h +++ b/lib/dirname.h @@ -1,4 +1,6 @@ -/* Copyright (C) 1998, 2001 Free Software Foundation, Inc. +/* Take file names apart into directory and base names. + + Copyright (C) 1998, 2001, 2003 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 @@ -19,14 +21,6 @@ # include <stddef.h> -# ifndef PARAMS -# if defined PROTOTYPES || (defined __STDC__ && __STDC__) -# define PARAMS(Args) Args -# else -# define PARAMS(Args) () -# endif -# endif - # ifndef DIRECTORY_SEPARATOR # define DIRECTORY_SEPARATOR '/' # endif @@ -39,11 +33,11 @@ # define FILESYSTEM_PREFIX_LEN(Filename) 0 # endif -char *base_name PARAMS ((char const *path)); -char *dir_name PARAMS ((char const *path)); -size_t base_len PARAMS ((char const *path)); -size_t dir_len PARAMS ((char const *path)); +char *base_name (char const *path); +char *dir_name (char const *path); +size_t base_len (char const *path); +size_t dir_len (char const *path); -int strip_trailing_slashes PARAMS ((char *path)); +int strip_trailing_slashes (char *path); #endif /* not DIRNAME_H_ */ |