Skip to content

Commit

Permalink
Cleanup compiler issues for climits.c.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirWumpus committed Jul 12, 2024
1 parent dcc83d2 commit 695d248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tools/climits.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stddef.h>

#undef _
#if defined(__STDC__) || defined(__BORLANDC__)
Expand Down
4 changes: 2 additions & 2 deletions tools/makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TGZ := $(SNERT_TARDIR)/@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tgz
CC := @CC@
CC_E := @CC_E@
CC_O := @CC_O@
CFLAGS = ${CFLAGS_PREFIX} @CFLAGS@
CFLAGS = ${CFLAGS_PREFIX} @CFLAGS@ -Wno-format-security
CPPFLAGS = ${CPPFLAGS_PREFIX} @CPPFLAGS@
LDFLAGS = ${LDFLAGS_PREFIX} @LDFLAGS@
LIBS = ${LIBS_PREFIX} @LIBS@
Expand Down Expand Up @@ -150,7 +150,7 @@ sechod$E : ${top_builddir}/io/socket3$O ${top_builddir}/io/socket3_tls$O sechod.
$(CC) ${CFLAGS_SSL} $(CFLAGS) ${LDFLAGS_SSL} $(LDFLAGS) $(CC_E)sechod$E ${srcdir}/sechod.c $(LIBSNERT) ${LIBS_SSL} $(LIBS) ${NETWORK_LIBS}

ansi$E : ansi.c
$(CC) $(CFLAGS) -Wno-format-security $(LDFLAGS) $(CC_E)ansi$E ${srcdir}/ansi.c
$(CC) $(CFLAGS) $(LDFLAGS) $(CC_E)ansi$E ${srcdir}/ansi.c

pad$E : pad.c
$(CC) $(CFLAGS) $(LDFLAGS) $(CC_E)pad$E ${srcdir}/pad.c
Expand Down

0 comments on commit 695d248

Please sign in to comment.