ref: 293649dd4e4cd185b9655834a7c04bf0d04aad3e
parent: 5c92b79792930589ac65a9477019719813b0931f
author: 9ferno <[email protected]>
date: Fri Aug 27 07:07:02 EDT 2021
moved ctype.c to libip
--- a/lib9/ctype.c
+++ /dev/null
@@ -1,24 +1,0 @@
-#include "u.h"
-#include "kern.h"
-
-uchar _ctype[256] =
-{
-/* 0 1 2 3 4 5 6 7 */
-
-/* 0*/ _C, _C, _C, _C, _C, _C, _C, _C,
-/* 10*/ _C, _S|_C, _S|_C, _S|_C, _S|_C, _S|_C, _C, _C,
-/* 20*/ _C, _C, _C, _C, _C, _C, _C, _C,
-/* 30*/ _C, _C, _C, _C, _C, _C, _C, _C,
-/* 40*/ _S|_B, _P, _P, _P, _P, _P, _P, _P,
-/* 50*/ _P, _P, _P, _P, _P, _P, _P, _P,
-/* 60*/ _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X,
-/* 70*/ _N|_X, _N|_X, _P, _P, _P, _P, _P, _P,
-/*100*/ _P, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U,
-/*110*/ _U, _U, _U, _U, _U, _U, _U, _U,
-/*120*/ _U, _U, _U, _U, _U, _U, _U, _U,
-/*130*/ _U, _U, _U, _P, _P, _P, _P, _P,
-/*140*/ _P, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L,
-/*150*/ _L, _L, _L, _L, _L, _L, _L, _L,
-/*160*/ _L, _L, _L, _L, _L, _L, _L, _L,
-/*170*/ _L, _L, _L, _P, _P, _P, _P, _C,
-};
--- a/lib9/mkfile
+++ b/lib9/mkfile
@@ -6,7 +6,6 @@
# files used by all models
#
COMMONFILES=\
- ctype.$O\
convD2M.$O\
convM2D.$O\
convM2S.$O\
--- /dev/null
+++ b/libip/ctype.c
@@ -1,0 +1,24 @@
+#include "u.h"
+#include "kern.h"
+
+uchar _ctype[256] =
+{
+/* 0 1 2 3 4 5 6 7 */
+
+/* 0*/ _C, _C, _C, _C, _C, _C, _C, _C,
+/* 10*/ _C, _S|_C, _S|_C, _S|_C, _S|_C, _S|_C, _C, _C,
+/* 20*/ _C, _C, _C, _C, _C, _C, _C, _C,
+/* 30*/ _C, _C, _C, _C, _C, _C, _C, _C,
+/* 40*/ _S|_B, _P, _P, _P, _P, _P, _P, _P,
+/* 50*/ _P, _P, _P, _P, _P, _P, _P, _P,
+/* 60*/ _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X,
+/* 70*/ _N|_X, _N|_X, _P, _P, _P, _P, _P, _P,
+/*100*/ _P, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U,
+/*110*/ _U, _U, _U, _U, _U, _U, _U, _U,
+/*120*/ _U, _U, _U, _U, _U, _U, _U, _U,
+/*130*/ _U, _U, _U, _P, _P, _P, _P, _P,
+/*140*/ _P, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L,
+/*150*/ _L, _L, _L, _L, _L, _L, _L, _L,
+/*160*/ _L, _L, _L, _L, _L, _L, _L, _L,
+/*170*/ _L, _L, _L, _P, _P, _P, _P, _C,
+};
--- a/libip/mkfile
+++ b/libip/mkfile
@@ -2,6 +2,7 @@
LIB=libip.a
OFILES=\
+ ctype.$O\
eipfmt.$O\
equivip.$O\
parseip.$O\