Re: Externs

From: George (greerga@CIRCLEMUD.ORG)
Date: 03/18/98


On Fri, 6 Mar 1998, Chris Powell wrote:

>extern char weapon_verbs[];
>extern int MAX_DESCRIPTORS_AVAILABLE;
>extern int *max_ac_applys; (yes that is how its spelled)

Not used anywhere I know of.

diff -uprN -x *.o stk/comm.c unused/comm.c
--- stk/comm.c  Wed Oct 29 17:04:08 1997
+++ unused/comm.c       Wed Mar 18 20:34:48 1998
@@ -68,7 +68,6 @@ extern FILE *player_fl;
 extern int DFLT_PORT;
 extern char *DFLT_DIR;
 extern int MAX_PLAYERS;
-extern int MAX_DESCRIPTORS_AVAILABLE;

 extern struct room_data *world;        /* In db.c */
 extern int top_of_world;       /* In db.c */
diff -uprN -x *.o stk/magic.c unused/magic.c
--- stk/magic.c Wed Oct 29 00:16:27 1997
+++ unused/magic.c      Wed Mar 18 20:35:00 1998
@@ -32,8 +32,6 @@ extern int mini_mud;
 extern int pk_allowed;

 extern struct default_mobile_stats *mob_defaults;
-extern char weapon_verbs[];
-extern int *max_ac_applys;
 extern struct apply_mod_defaults *apmd;

 void clearMemory(struct char_data * ch);
diff -uprN -x *.o stk/spells.c unused/spells.c
--- stk/spells.c        Wed Oct 29 00:16:29 1997
+++ unused/spells.c     Wed Mar 18 20:35:07 1998
@@ -34,8 +34,6 @@ extern int mini_mud;
 extern int pk_allowed;

 extern struct default_mobile_stats *mob_defaults;
-extern char weapon_verbs[];
-extern int *max_ac_applys;
 extern struct apply_mod_defaults *apmd;

 void clearMemory(struct char_data * ch);

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST