- Provide a prototype for compat malloc to remove compile warning.

This commit is contained in:
W.C.A. Wijngaards 2019-11-18 13:52:17 +01:00
parent 253d95a8ef
commit af6f5a3f54
2 changed files with 6 additions and 0 deletions

View File

@ -5,7 +5,12 @@
#undef malloc
#include <sys/types.h>
#ifndef USE_WINSOCK
void *malloc ();
#else
/* provide a prototype */
void *malloc (size_t n);
#endif
/* Allocate an N-byte block of memory from the heap.
If N is zero, allocate a 1-byte block. */

View File

@ -2,6 +2,7 @@
- In unbound-host use separate variable for get_option to please
code checkers.
- update to bison output of 3.4.1 in code repository.
- Provide a prototype for compat malloc to remove compile warning.
13 November 2019: Wouter
- iana portlist updated.