diff --git a/banned.h b/banned.h index ad0d36dc9f..28f5937035 100644 --- 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