X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=banned.h;h=7ab4f2e49219bdb38e4fe4e5b85d5a0cc3765566;hb=608cc4f2738d5e2055e238b2a9e482180d948a05;hp=60a18d44033b207025294a3084cbf7c7c6f20876;hpb=e2b9cb1c5a45290f568681862fb27714d6e4e52b;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 */