X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fglob.c;h=e8b79ffa51f67309a8646fcc790f5cb41e7050eb;hb=6b78d03bdd89f7c8dec8756bf296b75b156b90f3;hp=edef095e6d32388d00354c1ef902fa11fe3939f4;hpb=854ebf64dc7dae95a43a4e139e075156d2add805;p=gnulib.git diff --git a/lib/glob.c b/lib/glob.c index edef095e6..e8b79ffa5 100644 --- a/lib/glob.c +++ b/lib/glob.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2002,2003,2004,2005,2006 Free Software Foundation, Inc. +/* Copyright (C) 1991-2002,2003,2004,2005,2006,2007 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 @@ -132,9 +132,6 @@ # endif # define struct_stat64 struct stat64 #else /* !_LIBC */ -# include "getlogin_r.h" -# include "mempcpy.h" -# include "strdup.h" # define __stat64(fname, buf) stat (fname, buf) # define struct_stat64 struct stat # define __stat(fname, buf) stat (fname, buf) @@ -215,10 +212,10 @@ int GLOB_ATTRIBUTE #endif glob (pattern, flags, errfunc, pglob) - const char *pattern; + const char * restrict pattern; int flags; int (*errfunc) (const char *, int); - glob_t *pglob; + glob_t * restrict pglob; { const char *filename; const char *dirname;