Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'banned.h')
-rw-r--r--banned.h2
1 files changed, 2 insertions, 0 deletions
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