From aa6c90dec7764a6389d6a860dad303f212a3db99 Mon Sep 17 00:00:00 2001 From: Valery Yatsko Date: Tue, 8 Apr 2008 15:36:56 +0400 Subject: [PATCH] It seems that we don't use data structs version anywhere since 1.2.0 - removed --- include/ircd_defs.h | 8 -------- src/ircd.c | 6 ------ 2 files changed, 14 deletions(-) diff --git a/include/ircd_defs.h b/include/ircd_defs.h index cea2978a..f365d698 100644 --- a/include/ircd_defs.h +++ b/include/ircd_defs.h @@ -94,14 +94,6 @@ # error Incorrect config.h for this revision of ircd. #endif -/* - * This defines the version of the data structures used in the ircd. - * In the event of a mismatch (i.e. this is incremented due to a major - * change that cannot be accomidated for in the ircd), then a hard - * restart occurs. - */ -#define CHARYBDIS_DV 0x00010200 /* 1.2.0 */ - #define HOSTLEN 63 /* Length of hostname. Updated to */ /* comply with RFC1123 */ diff --git a/src/ircd.c b/src/ircd.c index 9d659efa..dc5ec378 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -67,12 +67,6 @@ #include "serno.h" #include "sslproc.h" -/* - * Try and find the correct name to use with getrlimit() for setting the max. - * number of files allowed to be open by this process. - */ -int _charybdis_data_version = CHARYBDIS_DV; - extern int ServerRunning; extern struct LocalUser meLocalUser; extern char **myargv;