summaryrefslogtreecommitdiffstats
path: root/include/cutils/native_handle.h
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-04-13 14:01:38 -0700
committerIliyan Malchev <malchev@google.com>2011-05-02 17:27:37 -0700
commit3ffd793a1d6a134a5fde9eabd936614d1b02dceb (patch)
tree0ae61ee5216276b7d1a4e371334aa45d1429d4a9 /include/cutils/native_handle.h
parentcd28c408410cfcd3f96f8fd97a9ba76bca64c435 (diff)
downloadsystem_core-3ffd793a1d6a134a5fde9eabd936614d1b02dceb.zip
system_core-3ffd793a1d6a134a5fde9eabd936614d1b02dceb.tar.gz
system_core-3ffd793a1d6a134a5fde9eabd936614d1b02dceb.tar.bz2
native_handle.h: fix declaration
Change-Id: I452a517ee6982995318802eb4bbb23bd79401c4d Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'include/cutils/native_handle.h')
-rw-r--r--include/cutils/native_handle.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/cutils/native_handle.h b/include/cutils/native_handle.h
index 89d6b65..268c5d3 100644
--- a/include/cutils/native_handle.h
+++ b/include/cutils/native_handle.h
@@ -21,7 +21,7 @@
extern "C" {
#endif
-typedef struct
+typedef struct native_handle
{
int version; /* sizeof(native_handle_t) */
int numFds; /* number of file-descriptors at &data[0] */
@@ -29,10 +29,6 @@ typedef struct
int data[0]; /* numFds + numInts ints */
} native_handle_t;
-
-/* keep the old definition for backward source-compatibility */
-typedef native_handle_t native_handle;
-
/*
* native_handle_close
*