0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd: Remove the restart.h header (temp merge into ircd.h).

This commit is contained in:
Jason Volk 2016-08-25 06:26:24 -07:00
parent 1f91909181
commit e4673b3fc0
3 changed files with 3 additions and 36 deletions

View file

@ -99,6 +99,9 @@ extern bool ircd_ssl_ok;
extern bool ircd_zlib_ok;
extern int maxconnections;
void restart(const char *) __attribute__((noreturn));
void server_reboot(void) __attribute__((noreturn));
void setup_signals();
void ircd_shutdown(const char *reason) __attribute__((noreturn));

View file

@ -1,35 +0,0 @@
/*
* ircd-ratbox: A slightly useful ircd.
* restart.h: A header with restart functions.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
* Copyright (C) 1996-2002 Hybrid Development Team
* Copyright (C) 2002-2004 ircd-ratbox development team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
#pragma once
#define HAVE_IRCD_RESTART_H
#ifdef __cplusplus
namespace ircd {
void restart(const char *) __attribute__((noreturn));
void server_reboot(void) __attribute__((noreturn));
} // namespace ircd
#endif // __cplusplus

View file

@ -108,7 +108,6 @@ namespace ircd
#include "privilege.h"
#include "ratelimit.h"
#include "reject.h"
#include "restart.h"
#include "s_conf.h"
#include "send.h"
#include "s_newconf.h"