summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/ap/stdio
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-02-10 19:26:39 -0800
committerOri Bernstein <ori@eigenstate.org>2020-02-10 19:26:39 -0800
commit98374d6eeae45278a5e21a53d7ad40d2afdd8439 (patch)
tree679f74d941aeafb7da3d8c8077886d2178b00ce5 /sys/src/ape/lib/ap/stdio
parent5f7a6b7ea3c4ae1b51beffe3309e9b6b0491e71f (diff)
remove C99_SPRINTF_EXTENSION define.
It's been 20 years since c99 came out. By now, if code hasn't been fixed, it's not going to be. Requiring this define just confuses porters.
Diffstat (limited to 'sys/src/ape/lib/ap/stdio')
-rw-r--r--sys/src/ape/lib/ap/stdio/snprintf.c2
-rw-r--r--sys/src/ape/lib/ap/stdio/vsnprintf.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/src/ape/lib/ap/stdio/snprintf.c b/sys/src/ape/lib/ap/stdio/snprintf.c
index 0c5c2ae8f..92ec50352 100644
--- a/sys/src/ape/lib/ap/stdio/snprintf.c
+++ b/sys/src/ape/lib/ap/stdio/snprintf.c
@@ -1,8 +1,6 @@
/*
* pANS stdio -- sprintf
*/
-#define _C99_SNPRINTF_EXTENSION
-
#include "iolib.h"
int snprintf(char *buf, size_t nbuf, const char *fmt, ...){
diff --git a/sys/src/ape/lib/ap/stdio/vsnprintf.c b/sys/src/ape/lib/ap/stdio/vsnprintf.c
index 45830fffb..57f8b8beb 100644
--- a/sys/src/ape/lib/ap/stdio/vsnprintf.c
+++ b/sys/src/ape/lib/ap/stdio/vsnprintf.c
@@ -1,8 +1,6 @@
/*
* pANS stdio -- vsnprintf
*/
-#define _C99_SNPRINTF_EXTENSION
-
#include "iolib.h"
int vsnprintf(char *buf, size_t nbuf, const char *fmt, va_list args){