瀏覽代碼

some includes & prototype declarations

Spiros Ioannou 7 年之前
父節點
當前提交
8920bf777b
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 二進制
      runcached
  2. 2 0
      runcached.c

二進制
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;