File: 01-sys-types-h.patch

package info (click to toggle)
fcode-utils 1.0.2-6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 46,772 kB
  • ctags: 1,284
  • sloc: ansic: 9,705; csh: 241; makefile: 106; sh: 17
file content (40 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- fcode-utils-1.0.2.orig/shared/types.h
+++ fcode-utils-1.0.2/shared/types.h
@@ -27,7 +27,7 @@
 
 /* **************************************************************************
  *
- *      Convert system short-name data-types found in  asm/types.h
+ *      Convert system short-name data-types found in  sys/types.h
  *          to OpenBios-style names.  (Mainly, remove the leading
  *          double-Underbar).
  *
@@ -39,7 +39,6 @@
  *
  **************************************************************************** */
 
-#if defined(__ppc__) && defined(__APPLE__)
 #include <sys/types.h>
 
 typedef int8_t s8;
@@ -51,20 +50,6 @@ typedef u_int16_t u16;
 typedef int32_t s32;
 typedef u_int32_t u32;
 
-#else
-
-#include <asm/types.h>
-
-typedef __s8    s8;
-typedef __u8    u8;
-
-typedef __s16   s16;
-typedef __u16   u16;
-
-typedef __s32   s32;
-typedef __u32   u32;
-#endif
-
 #ifdef FALSE            /*  Hack for AIX.     */
 #undef FALSE
 #undef TRUE