diff options
Diffstat (limited to 'nis/nss-default.c')
-rw-r--r-- | nis/nss-default.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nis/nss-default.c b/nis/nss-default.c index 046ddfee8d..577f7c2d47 100644 --- a/nis/nss-default.c +++ b/nis/nss-default.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 2001, 2004, 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 1996, 2001, 2004, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -17,7 +17,6 @@ 02111-1307 USA. */ #include <ctype.h> -#include <errno.h> #include <stdio.h> #include <stdio_ext.h> #include <stdlib.h> @@ -55,7 +54,6 @@ static const struct static void init (void) { - int saved_errno = errno; FILE *fp = fopen (default_nss, "rc"); if (fp != NULL) { @@ -113,7 +111,6 @@ init (void) fclose (fp); } - __set_errno (saved_errno); } |