(same_name): Remove unnecessary inclusion of config.h.
authorJim Meyering <jim@meyering.net>
Fri, 7 Mar 2003 09:52:28 +0000 (09:52 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 7 Mar 2003 09:52:28 +0000 (09:52 +0000)
It also happened to lead to infinite recursion in getcwd.c.
(PARAMS): Remove definition and use.

lib/same.h

index b6ac9d0..d4543a5 100644 (file)
@@ -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
 #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_ */