[NEWBIE] double declaration of extern

From: Mundi King (kingmundi@YAHOO.COM)
Date: 09/27/98


i become easily confused when facing
structures and pointers, and i was wondering
what the following code in act.item.c does

#endif
extern struct obj_data *obj_proto;
extern struct obj_data *obj_proto;
extern char *drinknames[];

what does having the same two lines accomplish?




_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


     +------------------------------------------------------------+
     | 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