www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/07/13:33:03

Message-ID: <398ED6BC.E0BD8E32@softhome.net>
Date: Mon, 07 Aug 2000 17:33:16 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.74 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: libc doesn't compile
References: <200008062007 DOT WAA08703 AT father DOT ludd DOT luth DOT se>
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019