DEADSOFTWARE

subsystem C99 renamed to PosixC
[cpc.git] / src / native / linux / 486 / Posix / Mod / Cerrno.cp
similarity index 55%
rename from src/cpfront/linux/486/C99/Mod/errno.cp
rename to src/native/linux/486/Posix/Mod/Cerrno.cp
index f0f27cff1eb227ff2da2a157791cbf0cbebd8a7b..7127eaf3413b1a3ae12a397d497039f4827c0cd0 100644 (file)
@@ -1,39 +1,39 @@
-MODULE C99errno ['errno.h'];
+MODULE PosixCerrno ['libc.so.6'];
 
   (* generated by genposix.sh, do not modify *)
 
-  IMPORT SYSTEM, C99types;
+  IMPORT SYSTEM, PosixCtypes;
 
   TYPE
-    char* = C99types.char;
-    signed_char* = C99types.signed_char;
-    unsigned_char* = C99types.unsigned_char;
-    short* = C99types.short;
-    short_int* = C99types.short_int;
-    signed_short* = C99types.signed_short;
-    signed_short_int* = C99types.signed_short_int;
-    unsigned_short* = C99types.unsigned_short;
-    unsigned_short_int* = C99types.unsigned_short_int;
-    int* = C99types.int;
-    signed* = C99types.signed;
-    signed_int* = C99types.signed_int;
-    unsigned* = C99types.unsigned;
-    unsigned_int* = C99types.unsigned_int;
-    long* = C99types.long;
-    long_int* = C99types.long_int;
-    signed_long* = C99types.signed_long;
-    signed_long_int* = C99types.signed_long_int;
-    unsigned_long* = C99types.unsigned_long;
-    unsigned_long_int* = C99types.unsigned_long_int;
-    long_long* = C99types.long_long;
-    long_long_int* = C99types.long_long_int;
-    signed_long_long* = C99types.signed_long_long;
-    signed_long_long_int* = C99types.signed_long_long_int;
-    unsigned_long_long* = C99types.unsigned_long_long;
-    unsigned_long_long_int* = C99types.unsigned_long_long_int;
-    float* = C99types.float;
-    double* = C99types.double;
-    long_double* = C99types.long_double;
+    char* = PosixCtypes.char;
+    signed_char* = PosixCtypes.signed_char;
+    unsigned_char* = PosixCtypes.unsigned_char;
+    short* = PosixCtypes.short;
+    short_int* = PosixCtypes.short_int;
+    signed_short* = PosixCtypes.signed_short;
+    signed_short_int* = PosixCtypes.signed_short_int;
+    unsigned_short* = PosixCtypes.unsigned_short;
+    unsigned_short_int* = PosixCtypes.unsigned_short_int;
+    int* = PosixCtypes.int;
+    signed* = PosixCtypes.signed;
+    signed_int* = PosixCtypes.signed_int;
+    unsigned* = PosixCtypes.unsigned;
+    unsigned_int* = PosixCtypes.unsigned_int;
+    long* = PosixCtypes.long;
+    long_int* = PosixCtypes.long_int;
+    signed_long* = PosixCtypes.signed_long;
+    signed_long_int* = PosixCtypes.signed_long_int;
+    unsigned_long* = PosixCtypes.unsigned_long;
+    unsigned_long_int* = PosixCtypes.unsigned_long_int;
+    long_long* = PosixCtypes.long_long;
+    long_long_int* = PosixCtypes.long_long_int;
+    signed_long_long* = PosixCtypes.signed_long_long;
+    signed_long_long_int* = PosixCtypes.signed_long_long_int;
+    unsigned_long_long* = PosixCtypes.unsigned_long_long;
+    unsigned_long_long_int* = PosixCtypes.unsigned_long_long_int;
+    float* = PosixCtypes.float;
+    double* = PosixCtypes.double;
+    long_double* = PosixCtypes.long_double;
 
   CONST
     E2BIG* = 7;
@@ -120,4 +120,4 @@ MODULE C99errno ['errno.h'];
 
   PROCEDURE [ccall] __errno_location* (): POINTER TO ARRAY [untagged] 1 OF int;
 
-END C99errno.
+END PosixCerrno.