]> code.citadel.org Git - citadel.git/blobdiff - citadel/aidepost.c
* added RCS Id keyword strings to sources
[citadel.git] / citadel / aidepost.c
index f71a0af8ce49105d3ec79da37561cb34ef64770e..acb4ba38e676228c143afe159fd32e09d6665b9f 100644 (file)
@@ -1,6 +1,7 @@
 /* aidepost.c
  * This is just a little hack to copy standard input to a message in Aide>
  * v1.6
+ * $Id$
  */
 
 #include <stdlib.h>
@@ -15,7 +16,8 @@ void make_message(char *filename)
 {
        FILE *fp;
        int a;
-       long bb,cc,now;
+       long bb,cc;
+       time_t now;
        time(&now);
        fp=fopen(filename,"wb"); if (fp==NULL) exit(22);
        putc(255,fp);
@@ -41,7 +43,7 @@ void make_message(char *filename)
        fclose(fp);
        }
 
-void main(int argc, char **argv)
+int main(int argc, char **argv)
 {
        char tempbase[32];
        char temptmp[64];