Mark GenerateHelp() and die() in main.cpp as static

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@933 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-01-20 16:20:59 +00:00
parent 3244c81920
commit 8f59ef93f3
+2 -2
View File
@@ -23,7 +23,7 @@ static struct option g_LongOpts[] = {
{ 0, 0, 0, 0 }
};
void GenerateHelp(const char *appname) {
static void GenerateHelp(const char *appname) {
CUtils::PrintMessage("USAGE: " + CString(appname) + " [options] [config]");
CUtils::PrintMessage("Options are:");
CUtils::PrintMessage("\t-h, --help List available command line options (this page)");
@@ -38,7 +38,7 @@ void GenerateHelp(const char *appname) {
CUtils::PrintMessage("\t-d, --datadir Set a different znc repository (default is ~/.znc)");
}
void die(int sig) {
static void die(int sig) {
signal(SIGSEGV, SIG_DFL);
signal(SIGABRT, SIG_DFL);
signal(SIGPIPE, SIG_DFL);