use macro for EXTERN "C" begin and end lines in header files to clean up the headers, and to eliminate a format bug in emacs.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1291 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2006-04-28 20:04:08 +00:00
parent 35dc32018c
commit 751ca005d3
22 changed files with 72 additions and 169 deletions
+3 -7
View File
@@ -39,12 +39,10 @@
#ifndef SWITCH_CONSOLE_H
#define SWITCH_CONSOLE_H
#ifdef __cplusplus
extern "C" {
#endif
#include <switch.h>
BEGIN_EXTERN_C
/*!
\brief A simple comand loop that reads input from the terminal
*/
@@ -55,8 +53,6 @@ SWITCH_DECLARE(void) switch_console_loop(void);
*/
SWITCH_DECLARE(void) switch_console_printf(switch_text_channel channel, char *file, const char *func, int line, char *fmt, ...);
#ifdef __cplusplus
}
#endif
END_EXTERN_C
#endif