aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2011-08-25 08:30:48 +0200
committerSimon Busch <morphis@gravedo.de>2011-08-25 08:31:08 +0200
commit43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542 (patch)
tree8157fa9a34aa0cbb2761ab31e4e585e188a4a67c
parenta76fbd11508d1390e8c0ea65afef6222a29ff247 (diff)
downloadexternal_libsamsung-ipc-43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542.zip
external_libsamsung-ipc-43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542.tar.gz
external_libsamsung-ipc-43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542.tar.bz2
Name ipc code lines not visible for the public with private postfix
-rw-r--r--samsung-ipc/crespo_ipc.c2
-rw-r--r--samsung-ipc/h1_ipc.c2
-rw-r--r--samsung-ipc/ipc.c2
-rw-r--r--samsung-ipc/ipc_private.h (renamed from samsung-ipc/ipc.h)7
4 files changed, 5 insertions, 8 deletions
diff --git a/samsung-ipc/crespo_ipc.c b/samsung-ipc/crespo_ipc.c
index 4b4c497..9f9a81a 100644
--- a/samsung-ipc/crespo_ipc.c
+++ b/samsung-ipc/crespo_ipc.c
@@ -38,7 +38,7 @@
#include "crespo_modem_ctl.h"
#include "crespo_nv_data.h"
#include "crespo_ipc.h"
-#include "ipc.h"
+#include "ipc_private.h"
int s3c2410_serial3_fd= -1;
int modem_ctl_fd= -1;
diff --git a/samsung-ipc/h1_ipc.c b/samsung-ipc/h1_ipc.c
index 9002283..119ef5b 100644
--- a/samsung-ipc/h1_ipc.c
+++ b/samsung-ipc/h1_ipc.c
@@ -22,7 +22,7 @@
#include <unistd.h>
#include <fcntl.h>
-#include "ipc.h"
+#include "ipc_private.h"
#include "h1_ipc.h"
static int fd = 0;
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c
index 135dd63..28da210 100644
--- a/samsung-ipc/ipc.c
+++ b/samsung-ipc/ipc.c
@@ -24,7 +24,7 @@
#include <radio.h>
-#include "ipc.h"
+#include "ipc_private.h"
struct ipc_ops *ops = NULL;
diff --git a/samsung-ipc/ipc.h b/samsung-ipc/ipc_private.h
index 29a30bd..8eb34d9 100644
--- a/samsung-ipc/ipc.h
+++ b/samsung-ipc/ipc_private.h
@@ -18,8 +18,8 @@
*
*/
-#ifndef __IPC_H__
-#define __IPC_H__
+#ifndef __IPC_PRIVATE_H__
+#define __IPC_PRIVATE_H__
struct ipc_ops {
int (*open)(void);
@@ -30,7 +30,4 @@ struct ipc_ops {
int (*recv)(struct ipc_response*);
};
-#define IPC_CLIENT_TYPE_CRESPO 1
-#define IPC_CLIENT_TYPE_H1 2
-
#endif