Browse Source

some includes & prototype declarations

Spiros Ioannou 7 years ago
parent
commit
8920bf777b
2 changed files with 2 additions and 0 deletions
  1. BIN
      runcached
  2. 2 0
      runcached.c

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;