summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-02-13 06:02:57 +0000
committerRussell Bryant <russell@russellbryant.com>2007-02-13 06:02:57 +0000
commitdf48a3b1beb9d3ba4beec4a973f54498eaa1f3c1 (patch)
treedeaf7551d3f7b730046e27897296cddd6a2a7884 /main
parent4300a7a6cd172455fb91794cda2a82f039bb9532 (diff)
Simplify WELCOME_MESSAGE to be a single function call instead of one for each
line. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/asterisk.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index 448f60824..47d58cecc 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -136,15 +136,15 @@ int daemon(int, int); /* defined in libresolv of all places */
/*! \brief Welcome message when starting a CLI interface */
#define WELCOME_MESSAGE \
- ast_verbose("Asterisk " ASTERISK_VERSION ", Copyright (C) 1999 - 2006 Digium, Inc. and others.\n"); \
- ast_verbose("Created by Mark Spencer <markster@digium.com>\n"); \
- ast_verbose("Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.\n"); \
- ast_verbose("This is free software, with components licensed under the GNU General Public\n"); \
- ast_verbose("License version 2 and other licenses; you are welcome to redistribute it under\n"); \
- ast_verbose("certain conditions. Type 'core show license' for details.\n"); \
- ast_verbose("=========================================================================\n"); \
- ast_verbose("NOTE: This is a development version of Asterisk, and should not be used in\n"); \
- ast_verbose("production installations.\n");
+ ast_verbose("Asterisk " ASTERISK_VERSION ", Copyright (C) 1999 - 2006 Digium, Inc. and others.\n" \
+ "Created by Mark Spencer <markster@digium.com>\n" \
+ "Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.\n" \
+ "This is free software, with components licensed under the GNU General Public\n" \
+ "License version 2 and other licenses; you are welcome to redistribute it under\n" \
+ "certain conditions. Type 'core show license' for details.\n" \
+ "=========================================================================\n" \
+ "NOTE: This is a development version of Asterisk, and should not be used in\n" \
+ "production installations.\n");
/*! \defgroup main_options Main Configuration Options
\brief Main configuration options from \ref Config_ast "asterisk.conf" or