X-Git-Url: http://git.jankratochvil.net/?p=tac_plus.git;a=blobdiff_plain;f=time_limit.h;h=eac209690473d2f0b0abee78a850c7135e4e5c99;hp=e8bb6fb4d175a6134a0142850cba5aa0bbd367d5;hb=413c510553a773cd16e2b538e4a208b4c4d9f775;hpb=a296ccf128acec69a7db2312ebcc231cd18e5944 diff --git a/time_limit.h b/time_limit.h index e8bb6fb..eac2096 100644 --- a/time_limit.h +++ b/time_limit.h @@ -1,13 +1,14 @@ -#include -#include -#include -#include -#include +#ifndef TIME_LIMIT_H +#define TIME_LIMIT_H 1 + +#include "tac_plus.h" + + #define NUM 10 #define TPL 9 /* time part len */ -/*Global variables */ -static char* week_days[]={"SU","MO","TU","WE","TH","FR","SA","WK","WD","AL"}; -static long week_day_val[]={1,2,4,8,16,32,64,62,65,127}; -extern int time_limit_process(); +extern int time_limit_process TAC_ARGS((const char *str)); + + +#endif /* TIME_LIMIT_H */