]> code.citadel.org Git - citadel.git/blobdiff - citadel/server.h
* lots of warning fixes; builds with -std1 on dec unix
[citadel.git] / citadel / server.h
index 6e713647ab3fa3caa924f7e8c8507cfbe9c9981c..98acc572923d364976fea15dc01b1c58aa66bb2c 100644 (file)
@@ -36,7 +36,7 @@ struct CitContext {
        struct ExpressMessage *FirstExpressMessage;
        int cs_pid;                     /* session ID */
        char cs_room[20];               /* current room */
-       long cs_lastupdt;               /* time of last update */
+       time_t cs_lastupdt;             /* time of last update */
        time_t lastcmd;                 /* time of last command executed */
        time_t lastidle;                /* For computing idle time */
        char lastcmdname[5];            /* name of last command executed */
@@ -140,7 +140,7 @@ struct cdbdata {
 
 struct CleanupFunctionHook {
        struct CleanupFunctionHook *next;
-       void *(*h_function_pointer) (void);
+       void (*h_function_pointer) (void);
        };
 extern struct CleanupFunctionHook *CleanupHookTable;
 
@@ -153,7 +153,7 @@ extern struct CleanupFunctionHook *CleanupHookTable;
  */
 struct SessionFunctionHook {
        struct SessionFunctionHook *next;
-       void *(*h_function_pointer) (void);
+       void (*h_function_pointer) (void);
        int eventtype;
        };
 extern struct SessionFunctionHook *SessionHookTable;
@@ -173,7 +173,7 @@ extern struct SessionFunctionHook *SessionHookTable;
  */
 struct UserFunctionHook {
        struct UserFunctionHook *next;
-       void *(*h_function_pointer) (char *username, long usernum);
+       void (*h_function_pointer) (char *username, long usernum);
        int eventtype;
        };
 extern struct UserFunctionHook *UserHookTable;