mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-22 04:02:03 +00:00
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:
@@ -41,12 +41,10 @@
|
||||
#ifndef SWITCH_LOADABLE_MODULE_H
|
||||
#define SWITCH_LOADABLE_MODULE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <switch.h>
|
||||
|
||||
BEGIN_EXTERN_C
|
||||
|
||||
/*!
|
||||
\defgroup mods Loadable Module Functions
|
||||
\ingroup core1
|
||||
@@ -240,8 +238,6 @@ SWITCH_MOD_DECLARE(switch_status) switch_module_runtime(void);
|
||||
SWITCH_MOD_DECLARE(switch_status) switch_module_shutdown(void);
|
||||
///\}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
END_EXTERN_C
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user