* lib/glob.c (glob): Add 'restrict' so that prototype matches the
declared prototype. Needed with cc on OSF/1 5.1.
+2007-03-15 Bruno Haible <bruno@clisp.org>
+
+ * lib/glob.c (glob): Add 'restrict' so that prototype matches the
+ declared prototype. Needed with cc on OSF/1 5.1.
+
2007-03-15 Bruno Haible <bruno@clisp.org>
* lib/gl_list.h (gl_listelement_dispose_fn): New type.
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;