multi-pack-index: provide more helpful usage info
[gitweb.git] / banned.h
index ad0d36dc9ff75bc96f82a18fe3fc815f537d7582..28f5937035b762ad9fb091ea8fb7cc96f38fc92d 100644 (file)
--- a/banned.h
+++ b/banned.h
@@ -14,6 +14,8 @@
 #define strcpy(x,y) BANNED(strcpy)
 #undef strcat
 #define strcat(x,y) BANNED(strcat)
+#undef strncpy
+#define strncpy(x,y,n) BANNED(strncpy)
 
 #undef sprintf
 #undef vsprintf