--- /dev/null Sun Jan 5 11:44:27 2020
+++ /arm/include/ape/inttypes.h Sat Jan 4 21:28:51 2020
@@ -0,0 +1,21 @@
+#ifndef _SUSV2_SOURCE
+#error "inttypes.h is SUSV2"
+#endif
+
+#ifndef _INTTYPES_H_
+#define _INTTYPES_H_ 1
+
+
+typedef char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+typedef long long int64_t;
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long long uint64_t;
+
+typedef long intptr_t;
+typedef unsigned long uintptr_t;
+
+#endif
--- /sys/src/cmd/postscript/tcpostio/tcpostio.c Thu Sep 26 18:52:56 2013
+++ /sys/src/cmd/postscript/tcpostio/tcpostio.c Sat Jan 4 20:39:43 2020
@@ -31,7 +31,8 @@
#define SNDSELTIMEOUT 300
void
-rdtmout(void) {
+rdtmout(int sig) {
+ USED(sig);
fprintf(stderr, "read timeout occurred, check printer\n");
}
|