diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-22 15:15:22 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-22 15:15:22 +0000 |
commit | 011f1a1a00b94fe919083a224d5df636f05ae32a (patch) | |
tree | cd77ae1fdc3803f999aabf2d8c618c7a1a9a0a76 /x2p | |
parent | e41d30bc98dce1dea5c4a5747bd838c25bdeda5d (diff) | |
download | perl-011f1a1a00b94fe919083a224d5df636f05ae32a.tar.gz |
NetWare changeover from Watcom to Codewarrior, from C Aditya.
p4raw-id: //depot/perl@16076
Diffstat (limited to 'x2p')
-rw-r--r-- | x2p/a2py.c | 5 | ||||
-rw-r--r-- | x2p/hash.c | 4 | ||||
-rw-r--r-- | x2p/walk.c | 6 |
3 files changed, 14 insertions, 1 deletions
diff --git a/x2p/a2py.c b/x2p/a2py.c index 1b14fddd83..dbbc7bb8e2 100644 --- a/x2p/a2py.c +++ b/x2p/a2py.c @@ -31,6 +31,10 @@ int oper3(int type, int arg1, int arg2, int arg3); int oper4(int type, int arg1, int arg2, int arg3, int arg4); int oper5(int type, int arg1, int arg2, int arg3, int arg4, int arg5); STR *walk(int useval, int level, register int node, int *numericptr, int minprec); +#ifdef NETWARE +char *savestr(char *str); +char *cpy2(register char *to, register char *from, register int delim); +#endif #if defined(OS2) || defined(WIN32) || defined(NETWARE) static void usage(void); @@ -57,6 +61,7 @@ main(register int argc, register char **argv, register char **env) register STR *str; int i; STR *tmpstr; + /* char *namelist; */ #ifdef NETWARE fnInitGpfGlobals(); /* For importing the CLIB calls in place of Watcom calls */ diff --git a/x2p/hash.c b/x2p/hash.c index ac8caa2bbc..dbdc928424 100644 --- a/x2p/hash.c +++ b/x2p/hash.c @@ -13,6 +13,10 @@ #include "a2p.h" #include "util.h" +#ifdef NETWARE +char *savestr(char *str); +#endif + STR * hfetch(register HASH *tb, char *key) { diff --git a/x2p/walk.c b/x2p/walk.c index 997ea34cd2..0823289ef8 100644 --- a/x2p/walk.c +++ b/x2p/walk.c @@ -34,7 +34,11 @@ static void tab ( STR *str, int lvl ); int prewalk ( int numit, int level, int node, int *numericptr ); STR * walk ( int useval, int level, int node, int *numericptr, int minprec ); - +#ifdef NETWARE +char *savestr(char *str); +char *cpytill(register char *to, register char *from, register int delim); +char *instr(char *big, char *little); +#endif STR * walk(int useval, int level, register int node, int *numericptr, int minprec) |