Selaa lähdekoodia

* Unexported removedcc()

svn: 592
Bryan Drewery 22 vuotta sitten
vanhempi
commit
f84de69aa5
3 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 1 1
      src/mod/module.h
  2. 1 1
      src/modules.c
  3. 0 1
      src/proto.h

+ 1 - 1
src/mod/module.h

@@ -414,7 +414,7 @@
 /* 244 - 247 */
 #define protect_readonly (*(int *)(global[244]))
 #define findchan_by_dname ((struct chanset_t *(*)(char *))global[245])
-#define removedcc ((void (*) (int))global[246])
+/* 246 UNUSED */
 #define userfile_perm (*(int *)global[247])
 /* 248 - 251 */
 #define sock_has_data ((int(*)(int, int))global[248])

+ 1 - 1
src/modules.c

@@ -471,7 +471,7 @@ Function global_table[] =
   /* 244 - 247 */
   (Function) & protect_readonly, /* int					*/
   (Function) findchan_by_dname,
-  (Function) removedcc,
+  (Function) 0,
   (Function) & userfile_perm,	 /* int					*/
   /* 248 - 251 */
   (Function) sock_has_data,

+ 0 - 1
src/proto.h

@@ -150,7 +150,6 @@ extern void (*shareupdatein) (int, char *);
 void chanout_but EGG_VARARGS(int, arg1);
 void dcc_chatter(int);
 void lostdcc(int);
-void removedcc(int);
 void makepass(char *);
 void tell_dcc(int);
 void not_away(int);