aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/backupfile.c7
-rw-r--r--lib/dirname.c7
-rw-r--r--lib/fileblocks.c7
-rw-r--r--lib/filemode.c4
-rw-r--r--lib/fsusage.c7
-rw-r--r--lib/ftruncate.c7
-rw-r--r--lib/full-write.c9
-rw-r--r--lib/isdir.c7
-rw-r--r--lib/makepath.c7
-rw-r--r--lib/modechange.c7
-rw-r--r--lib/rename.c7
-rw-r--r--lib/safe-read.c7
-rw-r--r--lib/savedir.c7
-rw-r--r--lib/userspec.c7
14 files changed, 1 insertions, 96 deletions
diff --git a/lib/backupfile.c b/lib/backupfile.c
index 36094af5e..288803453 100644
--- a/lib/backupfile.c
+++ b/lib/backupfile.c
@@ -19,14 +19,7 @@
Some algorithms adapted from GNU Emacs. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <stdio.h>
diff --git a/lib/dirname.c b/lib/dirname.c
index cb53eb406..929061480 100644
--- a/lib/dirname.c
+++ b/lib/dirname.c
@@ -16,14 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#ifdef STDC_HEADERS
diff --git a/lib/fileblocks.c b/lib/fileblocks.c
index ee82f7596..83ac04fd6 100644
--- a/lib/fileblocks.c
+++ b/lib/fileblocks.c
@@ -18,14 +18,7 @@
/* Written by Brian L. Matthews, blm@6sceng.UUCP. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#if !defined (HAVE_ST_BLOCKS) && !defined(_POSIX_SOURCE)
diff --git a/lib/filemode.c b/lib/filemode.c
index 838f49af0..e88fc1249 100644
--- a/lib/filemode.c
+++ b/lib/filemode.c
@@ -16,11 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
-#if defined (emacs) || defined (CONFIG_BROKETS)
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
diff --git a/lib/fsusage.c b/lib/fsusage.c
index d60a4c6a7..9bef62aba 100644
--- a/lib/fsusage.c
+++ b/lib/fsusage.c
@@ -16,14 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
diff --git a/lib/ftruncate.c b/lib/ftruncate.c
index 58cd2bba9..1272ee74f 100644
--- a/lib/ftruncate.c
+++ b/lib/ftruncate.c
@@ -2,14 +2,7 @@
This file is in the public domain. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
diff --git a/lib/full-write.c b/lib/full-write.c
index 6e2e44683..339fb1a48 100644
--- a/lib/full-write.c
+++ b/lib/full-write.c
@@ -19,14 +19,7 @@
*/
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
@@ -47,7 +40,7 @@ int
full_write (desc, ptr, len)
int desc;
char *ptr;
- int len;
+ size_t len;
{
int total_written;
diff --git a/lib/isdir.c b/lib/isdir.c
index adfd88a83..dbc9bd07d 100644
--- a/lib/isdir.c
+++ b/lib/isdir.c
@@ -16,14 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
diff --git a/lib/makepath.c b/lib/makepath.c
index 9725168d2..f0303fa8f 100644
--- a/lib/makepath.c
+++ b/lib/makepath.c
@@ -19,14 +19,7 @@
Jim Meyering <meyering@cs.utexas.edu>. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#ifdef __GNUC__
diff --git a/lib/modechange.c b/lib/modechange.c
index 1c0a59143..8eb8dc55d 100644
--- a/lib/modechange.c
+++ b/lib/modechange.c
@@ -25,14 +25,7 @@
performance gain. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
diff --git a/lib/rename.c b/lib/rename.c
index b2cf2ceac..63193973b 100644
--- a/lib/rename.c
+++ b/lib/rename.c
@@ -16,14 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
diff --git a/lib/safe-read.c b/lib/safe-read.c
index 2e131e1f2..22e705aed 100644
--- a/lib/safe-read.c
+++ b/lib/safe-read.c
@@ -17,14 +17,7 @@
*/
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
diff --git a/lib/savedir.c b/lib/savedir.c
index cdf1288a3..32c793b60 100644
--- a/lib/savedir.c
+++ b/lib/savedir.c
@@ -18,14 +18,7 @@
/* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
diff --git a/lib/userspec.c b/lib/userspec.c
index 75000e8fd..67f158333 100644
--- a/lib/userspec.c
+++ b/lib/userspec.c
@@ -18,14 +18,7 @@
/* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#ifdef __GNUC__