Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ffd793a authored by Iliyan Malchev's avatar Iliyan Malchev
Browse files

native_handle.h: fix declaration



Change-Id: I452a517ee6982995318802eb4bbb23bd79401c4d
Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
parent cd28c408
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -21,7 +21,7 @@
extern "C" {
extern "C" {
#endif
#endif


typedef struct
typedef struct native_handle
{
{
    int version;        /* sizeof(native_handle_t) */
    int version;        /* sizeof(native_handle_t) */
    int numFds;         /* number of file-descriptors at &data[0] */
    int numFds;         /* number of file-descriptors at &data[0] */
@@ -29,10 +29,6 @@ typedef struct
    int data[0];        /* numFds + numInts ints */
    int data[0];        /* numFds + numInts ints */
} native_handle_t;
} native_handle_t;



/* keep the old definition for backward source-compatibility */
typedef native_handle_t native_handle;

/*
/*
 * native_handle_close
 * native_handle_close
 * 
 *