dect
/
libdect
Archived
13
0
Fork 0

headers: move __cplusplus ifdefs to the beginning of the file

Make sure further include statements are inside the ifdef.

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-08-03 01:29:52 +02:00
parent dacee403af
commit a8e3cadc3c
2 changed files with 6 additions and 6 deletions

View File

@ -7,8 +7,6 @@
#ifndef _LIBDECT_DECT_LCE_H
#define _LIBDECT_DECT_LCE_H
#include <dect/ie.h>
#ifdef __cplusplus
extern "C" {
#endif
@ -18,6 +16,8 @@ extern "C" {
* @{
*/
#include <dect/ie.h>
struct dect_lce_page_param {
struct dect_ie_collection common;
struct dect_ie_portable_identity *portable_identity;

View File

@ -7,6 +7,10 @@
#ifndef _LIBDECT_DECT_LIBDECT_H
#define _LIBDECT_DECT_LIBDECT_H
#ifdef __cplusplus
extern "C" {
#endif
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
@ -22,10 +26,6 @@
#include <dect/debug.h>
#include <list.h>
#ifdef __cplusplus
extern "C" {
#endif
struct dect_handle;
/**