diff options
Diffstat (limited to 'winsup/cygwin/include/glob.h')
-rw-r--r-- | winsup/cygwin/include/glob.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/winsup/cygwin/include/glob.h b/winsup/cygwin/include/glob.h index 3fdf3e8ae..6a393f004 100644 --- a/winsup/cygwin/include/glob.h +++ b/winsup/cygwin/include/glob.h @@ -41,8 +41,6 @@ #ifndef _GLOB_H_ #define _GLOB_H_ -/* CYGNUS LOCAL: end */ - #include <sys/cdefs.h> #include <sys/types.h> #include <sys/stat.h> @@ -68,9 +66,14 @@ typedef struct { int (*gl_lstat) __P((const char *, struct stat12 *)); int (*gl_stat) __P((const char *, struct stat12 *)); #else +#if defined (__INSIDE_CYGWIN__) + int (*gl_lstat) (); + int (*gl_stat) (); +#else int (*gl_lstat) __P((const char *, struct stat *)); int (*gl_stat) __P((const char *, struct stat *)); #endif +#endif } glob_t; #define GLOB_APPEND 0x0001 /* Append to output from previous call. */ @@ -93,7 +96,6 @@ typedef struct { #define GLOB_ABEND (-2) /* Unignored error. */ __BEGIN_DECLS -/* CYGNUS LOCAL: normal protos */ #undef DLLEXPORT #ifdef __INSIDE_CYGWIN__ @@ -105,7 +107,6 @@ int DLLEXPORT glob(const char *, int, int (*)(const char *, int), glob_t *); void DLLEXPORT globfree(glob_t *); #undef DLLEXPORT -/* end CYGNUS LOCAL */ __END_DECLS #endif /* !_GLOB_H_ */ |