Explorar o código

some includes & prototype declarations

Spiros Ioannou %!s(int64=7) %!d(string=hai) anos
pai
achega
8920bf777b
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. BIN=BIN
      runcached
  2. 2 0
      runcached.c

BIN=BIN
runcached


+ 2 - 0
runcached.c

@@ -16,6 +16,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <math.h>
+#include <time.h>
 
 
 int cacheperiod=27; //seconds
@@ -29,6 +30,7 @@ char pidfile[128];
 char * str2md5str( char[]);
 void cleanup(void);
 int runit(char **,char *,char *,char *,char *);
+int isfile(char *path) ;
 
 int main(int argc, char **argv) {
     int i,j,count;