aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-09 21:12:52 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-09 21:12:52 +0100
commit4b6518180b0571acbcf6e6ce8167591fb60cf49c (patch)
treee4291e71dda59bec5123da7df5a754130b92c2f1
parent0fd066dda2a06674e09549e72724e3f2e27dda94 (diff)
Fixed implicit ints
-rw-r--r--FICS/comproc.c10
-rw-r--r--FICS/comproc.h11
2 files changed, 11 insertions, 10 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c
index b2d251c..b615b06 100644
--- a/FICS/comproc.c
+++ b/FICS/comproc.c
@@ -57,11 +57,11 @@
/* int system(char *arg); */
#endif
-const none = 0;
-const blitz_rat = 1;
-const std_rat = 2;
-const wild_rat = 3;
-const light_rat = 4;
+const int none = 0;
+const int blitz_rat = 1;
+const int std_rat = 2;
+const int wild_rat = 3;
+const int light_rat = 4;
PUBLIC int com_rating_recalc(int p, param_list param)
diff --git a/FICS/comproc.h b/FICS/comproc.h
index 20c68d4..cf9ad5f 100644
--- a/FICS/comproc.h
+++ b/FICS/comproc.h
@@ -25,11 +25,12 @@
#ifndef _COMPROC_H
#define _COMPROC_H
-extern const none; /* = 0; */
-extern const blitz_rat; /* = 1; */
-extern const std_rat; /* = 2; */
-extern const wild_rat; /* = 3; */
-extern const light_rat;
+extern const int none;
+extern const int blitz_rat;
+extern const int std_rat;
+extern const int wild_rat;
+extern const int light_rat;
+
extern int com_rating_recalc();
extern int com_more();
extern void rscan_news(FILE *, int, int);