blob: b44dca3ec8b8f4ac68c6705f0aad3117d290e7a8 [file] [log] [blame]
Patrick Williamsf1e5d692016-03-30 15:21:19 -05001From 742fb110d9841a04b3ced256b0bf80ff304dcaff Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 31 Aug 2015 05:45:08 +0000
4Subject: [PATCH] Define _u32/__s32/__u16/__s16/__u8 in terms of c99 types
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8Upstream-Status: Pending
9
10 wireless_copy.h | 10 +++++-----
11 1 file changed, 5 insertions(+), 5 deletions(-)
12
13diff --git a/wireless_copy.h b/wireless_copy.h
14index 8208258..1171a35 100644
15--- a/wireless_copy.h
16+++ b/wireless_copy.h
17@@ -86,11 +86,11 @@
18 #else
19 #include <sys/types.h>
20 #include <net/if.h>
21-typedef __uint32_t __u32;
22-typedef __int32_t __s32;
23-typedef __uint16_t __u16;
24-typedef __int16_t __s16;
25-typedef __uint8_t __u8;
26+typedef u_int32_t __u32;
27+typedef int32_t __s32;
28+typedef u_int16_t __u16;
29+typedef int16_t __s16;
30+typedef u_int8_t __u8;
31 #ifndef __user
32 #define __user
33 #endif /* __user */
34--
352.5.1
36