X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=banned.h;h=7ab4f2e49219bdb38e4fe4e5b85d5a0cc3765566;hb=1b5b8cf072491e0a43e668c685b782efce9a6f0f;hp=60a18d44033b207025294a3084cbf7c7c6f20876;hpb=63e50b8678cbf9a9fd8c875d1f66f2f1a3d29088;p=thirdparty%2Fgit.git diff --git a/banned.h b/banned.h index 60a18d4403..7ab4f2e492 100644 --- a/banned.h +++ b/banned.h @@ -29,4 +29,17 @@ #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 */