X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=lib%2Fdirfd.c;h=c285370d366ba8782c96126ad5bd42be915ef429;hb=f5e328c1b9481fedbe4134404155b1c89d0aeded;hp=81993c502c1f89c71304d7390c9df8240a86d782;hpb=108fdd583db2979210c530ee28f4a15af0dbf8e7;p=gnulib.git diff --git a/lib/dirfd.c b/lib/dirfd.c index 81993c502..c285370d3 100644 --- a/lib/dirfd.c +++ b/lib/dirfd.c @@ -1,6 +1,6 @@ /* dirfd.c -- return the file descriptor associated with an open DIR* - Copyright (C) 2001, 2006, 2008-2009 Free Software Foundation, Inc. + Copyright (C) 2001, 2006, 2008-2010 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 @@ -23,7 +23,7 @@ #include int -dirfd (DIR const *dir_p) +dirfd (DIR *dir_p) { int fd = DIR_TO_FD (dir_p); if (fd == -1)