summaryrefslogtreecommitdiff
path: root/lib/filemode.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-06-18 05:52:19 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2003-06-18 05:52:19 +0000
commit68af56be3e061b97cf97150094bc50b0aa364cbb (patch)
treebdb72b16dd6b1992a31fe7bab628b23efb870a5f /lib/filemode.h
parentc947ae968b9fdb7a65f1481b7c7ec68e6a0d3abc (diff)
downloadgnulib-68af56be3e061b97cf97150094bc50b0aa364cbb.tar.gz
Assume C89, so PARAMS isn't needed.
Diffstat (limited to 'lib/filemode.h')
-rw-r--r--lib/filemode.h32
1 files changed, 19 insertions, 13 deletions
diff --git a/lib/filemode.h b/lib/filemode.h
index 5b19db236b..10b2ef961d 100644
--- a/lib/filemode.h
+++ b/lib/filemode.h
@@ -1,19 +1,25 @@
-#ifndef FILEMODE_H_
+/* Make a string describing file modes.
-# if HAVE_CONFIG_H
-# include <config.h>
-# endif
+ Copyright (C) 1998, 1999, 2003 Free Software Foundation, Inc.
-# include <sys/types.h>
+ 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
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ 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
+#ifndef FILEMODE_H_
+
+# include <sys/types.h>
-void mode_string PARAMS ((mode_t mode, char *str));
+void mode_string (mode_t mode, char *str);
#endif