Content-Type: text/plain; charset="iso-8859-13" From: Andris Pavenis To: djgpp-workers AT delorie DOT com Subject: Missing prototypes for memalign() and valloc() Date: Sat, 20 Jan 2001 11:26:35 +0200 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01012011263500.18493@hal> Content-Transfer-Encoding: 8bit Reply-To: djgpp-workers AT delorie DOT com Tried to build current CVS version (as usually using cross-compiler under Linux). I'm getting failure due to missing prototypes for memalign() and valloc(). Adding prototypes to stdlib.h fixes build. --- include/stdlib.h~1 Wed Dec 6 07:00:36 2000 +++ include/stdlib.h Sat Jan 20 11:25:04 2001 @@ -113,6 +113,8 @@ long long strtoll(const char *_s, char **_endptr, int _base); unsigned long long strtoull(const char *_s, char **_endptr, int _base); void swab(const void *from, void *to, int nbytes); +void *memalign (size_t amt, size_t align); +void *valloc (size_t amt); #ifndef alloca #define alloca __builtin_alloca Andris