In file included from csh.c:43: /data/data/com.termux/files/usr/include/bsd/vis.h:107:2: warning: "NetBSD added incompatible strnvis() and strnunvis(), please see for more detils." [-W#warnings] #warning "NetBSD added incompatible strnvis() and strnunvis(), please see for more detils." ^ In file included from csh.c:46: ./error.h:4:1: error: unknown type name 'error' error.c:#define ERR_FLAGS 0xf0000000 ^ ./error.h:4:6: error: expected identifier or '(' error.c:#define ERR_FLAGS 0xf0000000 ^ csh.c:187:26: error: use of undeclared identifier '_PATH_CSHELL' STR_SHELLPATH = SAVE(_PATH_CSHELL); ^ csh.c:226:9: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] (void) time(&chktim); ^ csh.c:228:9: warning: implicit declaration of function 'pledge' is invalid in C99 [-Wimplicit-function-declaration] if (pledge("stdio rpath wpath cpath fattr getpw proc exec tty", ^ csh.c:255:20: warning: implicit declaration of function 'funopen' is invalid in C99 [-Wimplicit-function-declaration] if (!(cshin = funopen((void *) &SHIN, readf, writef, seekf, closef))) ^ csh.c:255:18: warning: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion] if (!(cshin = funopen((void *) &SHIN, readf, writef, seekf, closef))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csh.c:257:18: warning: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion] if (!(cshout = funopen((void *) &SHOUT, readf, writef, seekf, closef))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csh.c:259:18: warning: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion] if (!(csherr = funopen((void *) &SHERR, readf, writef, seekf, closef))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csh.c:423:15: error: use of undeclared identifier 'ERR_SYSTEM' stderror(ERR_SYSTEM, tempv[0], strerror(errno)); ^ csh.c:443:12: error: use of undeclared identifier 'ERR_SYSTEM' stderror(ERR_SYSTEM, tempv[0], strerror(errno)); ^ csh.c:457:15: error: use of undeclared identifier 'ERR_SYSTEM' stderror(ERR_SYSTEM, "csh", strerror(errno)); ^ csh.c:816:11: error: use of undeclared identifier 'ERR_SILENT' stderror(ERR_SILENT); ^ csh.c:975:15: error: use of undeclared identifier 'ERR_NAME' stderror(ERR_NAME | ERR_INTR); ^ csh.c:975:26: error: use of undeclared identifier 'ERR_INTR' stderror(ERR_NAME | ERR_INTR); ^ csh.c:1001:14: error: use of undeclared identifier 'ERR_SILENT' stderror(ERR_SILENT); ^ csh.c:1121:15: error: use of undeclared identifier 'ERR_OLD' stderror(ERR_OLD); ^ csh.c:1137:15: error: use of undeclared identifier 'ERR_OLD' stderror(ERR_OLD); ^ csh.c:1163:15: error: use of undeclared identifier 'ERR_NAME' stderror(ERR_NAME | ERR_HFLAG); ^ csh.c:1163:26: error: use of undeclared identifier 'ERR_HFLAG' stderror(ERR_NAME | ERR_HFLAG); ^ csh.c:1171:11: error: use of undeclared identifier 'ERR_SYSTEM' stderror(ERR_SYSTEM, sbuf, strerror(errno)); ^ csh.c:1196:12: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] (void) time(&t); ^ 8 warnings and 15 errors generated.