]> git.ipfire.org Git - thirdparty/git.git/blobdiff - banned.h
refs/debug: quote prefix
[thirdparty/git.git] / banned.h
index 447af24807f49f5df4eace6435acba721745fc2c..7ab4f2e49219bdb38e4fe4e5b85d5a0cc3765566 100644 (file)
--- a/banned.h
+++ b/banned.h
 #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
 
+#undef gmtime
+#define gmtime(t) BANNED(gmtime)
+#undef localtime
+#define localtime(t) BANNED(localtime)
+#undef ctime
+#define ctime(t) BANNED(ctime)
+#undef ctime_r
+#define ctime_r(t, buf) BANNED(ctime_r)
+#undef asctime
+#define asctime(t) BANNED(asctime)
+#undef asctime_r
+#define asctime_r(t, buf) BANNED(asctime_r)
+
 #endif /* BANNED_H */