diff options
author | Tao Bao <tbao@google.com> | 2015-01-28 10:07:51 -0800 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2015-02-06 14:48:41 -0800 |
commit | d7db594b8d1dab36b711bd887a9dd21675c87243 (patch) | |
tree | 214b4e6e4510386ffc05c9a43dd3c153c6cf89a0 /libc/kernel/uapi/linux/hdlc/ioctl.h | |
parent | 11829be3e1a9e9e2271ba64a78c327bde6e044eb (diff) | |
download | android_bionic-d7db594b8d1dab36b711bd887a9dd21675c87243.tar.gz android_bionic-d7db594b8d1dab36b711bd887a9dd21675c87243.tar.bz2 android_bionic-d7db594b8d1dab36b711bd887a9dd21675c87243.zip |
Switch kernel header parsing to python libclang
Replace the tokenizer in cpp.py with libclang.
Bug: 18937958
Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
Diffstat (limited to 'libc/kernel/uapi/linux/hdlc/ioctl.h')
-rw-r--r-- | libc/kernel/uapi/linux/hdlc/ioctl.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/libc/kernel/uapi/linux/hdlc/ioctl.h b/libc/kernel/uapi/linux/hdlc/ioctl.h index c47d91ed6..37ff5c74c 100644 --- a/libc/kernel/uapi/linux/hdlc/ioctl.h +++ b/libc/kernel/uapi/linux/hdlc/ioctl.h @@ -52,47 +52,47 @@ #ifndef __ASSEMBLY__ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ typedef struct { - unsigned int clock_rate; - unsigned int clock_type; - unsigned short loopback; + unsigned int clock_rate; + unsigned int clock_type; + unsigned short loopback; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } sync_serial_settings; typedef struct { - unsigned int clock_rate; - unsigned int clock_type; + unsigned int clock_rate; + unsigned int clock_type; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned short loopback; - unsigned int slot_map; + unsigned short loopback; + unsigned int slot_map; } te1_settings; typedef struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned short encoding; - unsigned short parity; + unsigned short encoding; + unsigned short parity; } raw_hdlc_proto; typedef struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int t391; - unsigned int t392; - unsigned int n391; - unsigned int n392; + unsigned int t391; + unsigned int t392; + unsigned int n391; + unsigned int n392; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int n393; - unsigned short lmi; - unsigned short dce; + unsigned int n393; + unsigned short lmi; + unsigned short dce; } fr_proto; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ typedef struct { - unsigned int dlci; + unsigned int dlci; } fr_proto_pvc; typedef struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int dlci; - char master[IFNAMSIZ]; -}fr_proto_pvc_info; + unsigned int dlci; + char master[IFNAMSIZ]; +} fr_proto_pvc_info; typedef struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - unsigned int interval; - unsigned int timeout; + unsigned int interval; + unsigned int timeout; } cisco_proto; #endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |