changeset 5132:c7c53476ce34

(errno): Don't declare; we assume C89 or better now.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 06 Aug 2004 05:16:49 +0000
parents 5ae20cfe1a13
children b8b3dfc3b415
files lib/dup-safer.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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>