summaryrefslogtreecommitdiff
path: root/lib/dup-safer.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-06 05:16:49 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-06 05:16:49 +0000
commit7b86224d4b04021cfc8fdea5bb254b67525c77a5 (patch)
treea6f657be3462a5f3b30147aba47a542ac5ee451a /lib/dup-safer.c
parentcbb957509a65c2a1a7a14e90a35882df286948d1 (diff)
downloadgnulib-7b86224d4b04021cfc8fdea5bb254b67525c77a5.tar.gz
(errno): Don't declare; we assume C89 or better now.
Diffstat (limited to 'lib/dup-safer.c')
-rw-r--r--lib/dup-safer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/dup-safer.c b/lib/dup-safer.c
index f72fd845f3..408a1bda76 100644
--- a/lib/dup-safer.c
+++ b/lib/dup-safer.c
@@ -1,5 +1,5 @@
/* Invoke dup, but avoid some glitches.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2004 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
@@ -22,9 +22,6 @@
#endif
#include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
#if HAVE_FCNTL_H
# include <fcntl.h>