Skip to content

Commit

Permalink
Add parameter types to declarations for clang-16
Browse files Browse the repository at this point in the history
ANSI C style function declarations without parameter types are errors with clang-16.
  • Loading branch information
Peter-Levine authored and khwilliamson committed Jan 17, 2023
1 parent 508aafd commit e1ca9a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configure
Original file line number Diff line number Diff line change
Expand Up @@ -7927,10 +7927,10 @@ $cat >malloc.c <<END
#include <stdlib.h>
#endif
#ifdef TRY_MALLOC
void *malloc();
void *malloc(size_t);
#endif
#ifdef TRY_FREE
void free();
void free(void *);
#endif
END
case "$malloctype" in
Expand Down

0 comments on commit e1ca9a4

Please sign in to comment.