summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-07 09:52:28 +0000
committerJim Meyering <jim@meyering.net>2003-03-07 09:52:28 +0000
commit32ae6e85657892cbe9160204fff76007608c4ace (patch)
tree0ae3ffae1e43c6a8c68e65a7a151f7fd4151fadd
parent473d0baa73fad8a9d0a5d5fdea4bb782e0fd0353 (diff)
downloadcoreutils-32ae6e85657892cbe9160204fff76007608c4ace.tar.xz
(same_name): Remove unnecessary inclusion of config.h.
It also happened to lead to infinite recursion in getcwd.c. (PARAMS): Remove definition and use.
-rw-r--r--lib/same.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/same.h b/lib/same.h
index b6ac9d058..d4543a57c 100644
--- a/lib/same.h
+++ b/lib/same.h
@@ -1,5 +1,5 @@
/* Determine whether two file names refer to the same file.
- Copyright (C) 1997-2000 Free Software Foundation, Inc.
+ Copyright (C) 1997-2000, 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
@@ -18,19 +18,7 @@
#ifndef SAME_H_
# define SAME_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
-
int
-same_name PARAMS ((const char *source, const char *dest));
+same_name (const char *source, const char *dest);
#endif /* SAME_H_ */