Mail Archives: djgpp-workers/2000/08/07/13:33:03
Martin Str|mberg wrote:
>
> libc won't compile anymore:
> make -C posix/sys/stat
> gcc ... -c lstat.c
> cc1.exe: warnings being treated as errors
> lstat.c:861: warning: no previous prototype for `lstat'
> make.exe[3]: *** [lstat.o] Error 1
Very sorry. I commit my patches to repository for each affected directory
separately, and this time I've missed djgpp/include/sys.
Please tell if there are any other problems,
Laurynas
Index: stat.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/sys/stat.h,v
retrieving revision 1.1
diff -u -r1.1 stat.h
--- stat.h 1995/08/10 05:06:26 1.1
+++ stat.h 2000/08/07 15:30:21
@@ -79,6 +79,7 @@
void _fixpath(const char *, char *);
unsigned short _get_magic(const char *, int);
int _is_executable(const char *, int, const char *);
+int lstat(const char * _path, struct stat * _buf);
int mknod(const char *_path, mode_t _mode, dev_t _dev);
char * _truename(const char *, char *);
- Raw text -