mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-16 09:11:57 +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:
@@ -38,12 +38,10 @@
|
||||
#ifndef SWITCH_BUFFER_H
|
||||
#define SWITCH_BUFFER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <switch.h>
|
||||
|
||||
BEGIN_EXTERN_C
|
||||
|
||||
/**
|
||||
* @defgroup switch_buffer Buffer Routines
|
||||
* @ingroup core1
|
||||
@@ -111,10 +109,6 @@ SWITCH_DECLARE(switch_size_t) switch_buffer_toss(switch_buffer *buffer, switch_s
|
||||
SWITCH_DECLARE(void) switch_buffer_zero(switch_buffer *buffer);
|
||||
/** @} */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
END_EXTERN_C
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user