summaryrefslogtreecommitdiff
path: root/banned.h
diff options
context:
space:
mode:
Diffstat (limited to 'banned.h')
-rw-r--r--banned.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/banned.h b/banned.h
index 28f5937035..60a18d4403 100644
--- a/banned.h
+++ b/banned.h
@@ -16,6 +16,8 @@
#define strcat(x,y) BANNED(strcat)
#undef strncpy
#define strncpy(x,y,n) BANNED(strncpy)
+#undef strncat
+#define strncat(x,y,n) BANNED(strncat)
#undef sprintf
#undef vsprintf
@@ -24,7 +26,7 @@
#define vsprintf(...) BANNED(vsprintf)
#else
#define sprintf(buf,fmt,arg) BANNED(sprintf)
-#define vsprintf(buf,fmt,arg) BANNED(sprintf)
+#define vsprintf(buf,fmt,arg) BANNED(vsprintf)
#endif
#endif /* BANNED_H */