]> code.citadel.org Git - citadel.git/commitdiff
* serv_upgrade.c: warning fixes
authorNathan Bryant <loanshark@uncensored.citadel.org>
Sun, 1 Nov 1998 19:18:09 +0000 (19:18 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Sun, 1 Nov 1998 19:18:09 +0000 (19:18 +0000)
citadel/ChangeLog
citadel/serv_upgrade.c

index c690e6c2c5d89b4cb6aa22404200b9d6e492bbfc..282b119b5c8c32e924bec6896fedfc7c586a8b1a 100644 (file)
@@ -1,3 +1,6 @@
+1998-11-01 Nathan Bryant <bryant@cs.usm.maine.edu>
+       * serv_upgrade.c: warning fixes
+
 Sat Oct 31 20:48:44 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * More stoopid ANSI colour additions here and there.
        * ANSI colour selection is now in citadel.rc instead of an option in
index f803611867982663f6523d060650985dad30f2ea..8750bbc1105e1b3111f5735a0c3effecccc2c4a8 100644 (file)
@@ -44,9 +44,7 @@ static struct DLModule_Info info = {
 
 
 
-void fpgetfield(fp,string)
-FILE *fp;
-char string[];
+void fpgetfield(FILE *fp, char *string)
 {
        int a,b;
        strcpy(string,"");
@@ -79,7 +77,7 @@ void import_message(long msgnum, long msglen) {
        free(msgtext);
        }
 
-void imp_floors() {
+void imp_floors(void) {
        char key[256], tag[256], tval[256];
        struct floor fl;
        int floornum = 0;
@@ -118,7 +116,7 @@ void imp_floors() {
 
 
 
-void imp_rooms() {
+void imp_rooms(void) {
        char key[256];
        char tag[256], tval[256];
        int roomnum = 0;
@@ -208,7 +206,7 @@ void imp_rooms() {
 
 
 
-void import_a_user() {
+void import_a_user(void) {
        char key[256], value[256];
        char vkey[256], vvalue[256];
        struct usersupp us;
@@ -293,7 +291,7 @@ void import_a_user() {
        }
 
 
-void imp_usersupp() {
+void imp_usersupp(void) {
        char key[256], value[256];
        
        while(fpgetfield(imfp, key), strcasecmp(key, "endsection")) {
@@ -315,7 +313,7 @@ void imp_usersupp() {
 
 
 
-void imp_globals() {
+void imp_globals(void) {
        char key[256], value[256];
 
        get_control();
@@ -334,7 +332,7 @@ void imp_globals() {
 
 
 
-void imp_config() { 
+void imp_config(void) { 
        char key[256], value[256];
        FILE *fp;
 
@@ -397,7 +395,7 @@ void imp_config() {
 
 
 
-void imp_ssv() {
+void imp_ssv(void) {
        char key[256], value[256];
        int ssv_maxfloors = MAXFLOORS;
        
@@ -423,7 +421,7 @@ void imp_ssv() {
 
 
 
-void import_databases() {
+void import_databases(void) {
        char section[256];
 
        lprintf(9, " ** IMPORTING ** \n");