From: michael Date: Mon, 8 Jun 2015 20:18:43 +0000 (+0000) Subject: - libopm/src/config.c: constification; remove extraneous comma from the 'HASH' table X-Git-Tag: 1.1.0beta1~55 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=3660875f72f1636a7847d310629d6327d84547b4;p=hopm.git - libopm/src/config.c: constification; remove extraneous comma from the 'HASH' table git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6071 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/src/libopm/src/config.c b/src/libopm/src/config.c index 0d76c8e..49dae34 100644 --- a/src/libopm/src/config.c +++ b/src/libopm/src/config.c @@ -34,7 +34,7 @@ #include "list.h" -static OPM_CONFIG_HASH_T HASH[] = +static const OPM_CONFIG_HASH_T HASH[] = { { OPM_CONFIG_FD_LIMIT, OPM_TYPE_INT }, { OPM_CONFIG_BIND_IP , OPM_TYPE_ADDRESS }, @@ -43,7 +43,7 @@ static OPM_CONFIG_HASH_T HASH[] = { OPM_CONFIG_SCAN_IP, OPM_TYPE_STRING }, { OPM_CONFIG_SCAN_PORT, OPM_TYPE_INT }, { OPM_CONFIG_MAX_READ, OPM_TYPE_INT }, - { OPM_CONFIG_TIMEOUT, OPM_TYPE_INT }, + { OPM_CONFIG_TIMEOUT, OPM_TYPE_INT } }; /* config_create