提交 51160edb 编写于 作者: C chenchong_666

style: Modify the. h file contained in the extern c block

Signed-off-by: Nchenchong_666 <chenchong57@huawei.com>
上级 2df65435
......@@ -16,12 +16,12 @@
#ifndef IPC_C_ASHMEM_H
#define IPC_C_ASHMEM_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
struct CAshmem;
typedef struct CAshmem CAshmem;
......
......@@ -16,17 +16,15 @@
#ifndef IPC_C_PARCEL_H
#define IPC_C_PARCEL_H
#include "c_ashmem.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "c_ashmem.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include <stdint.h>
struct MessageParcelHolder;
typedef struct MessageParcelHolder CParcel;
......
......@@ -16,11 +16,10 @@
#ifndef IPC_C_PARCEL_INTERANL_H
#define IPC_C_PARCEL_INTERANL_H
#include "c_parcel.h"
#include "c_ashmem_internal.h"
#include <refbase.h>
#include "message_parcel.h"
#include "c_ashmem_internal.h"
#include "c_parcel.h"
struct MessageParcelHolder : public virtual OHOS::RefBase {
explicit MessageParcelHolder(OHOS::MessageParcel *parcel = nullptr);
......
......@@ -16,15 +16,14 @@
#ifndef IPC_C_PROCESS_H
#define IPC_C_PROCESS_H
#include <stdint.h>
#include "c_parcel.h"
#include "c_remote_object.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "c_remote_object.h"
CRemoteObject *GetContextManager(void);
void JoinWorkThread(void);
void StopWorkThread(void);
......
......@@ -16,14 +16,13 @@
#ifndef IPC_C_REMOTE_OBJECT_H
#define IPC_C_REMOTE_OBJECT_H
#include <stdint.h>
#include "c_parcel.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "c_parcel.h"
struct CRemoteObjectHolder;
typedef struct CRemoteObjectHolder CRemoteObject;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册