(errno): Don't declare; we assume C89 or better now.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Aug 2004 05:16:49 +0000 (05:16 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Aug 2004 05:16:49 +0000 (05:16 +0000)
lib/dup-safer.c

index f72fd845f397a1a6e413db765e8b08972220772a..408a1bda76028f1215e17a3a131364cad19d3340 100644 (file)
@@ -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>