diff options
author | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1995-01-18 02:37:01 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1995-01-18 02:37:01 +0000 |
commit | 9c8d0b29b7bd1493cc1d95591b17902820e5579c (patch) | |
tree | f8671d758a3a5d07d4fef72c609650aa9af8f7e1 /x2p/util.h | |
parent | f4cb4c40de81ad9c5a8e775c2298ec5a52130124 (diff) | |
download | perl-9c8d0b29b7bd1493cc1d95591b17902820e5579c.tar.gz |
perl5.000 patch.0e: fix various non-broken things in the x2p/ directory
This patch fixes various non-broken things in the x2p/ directory.
Mostly, I've supplied function prototypes to satisfy particularly
picky compilers.
I've also updated Makefile.SH to know that the byacc-generated a2p.c
is now included with the distribution so that we no longer need to go
looking for yacc/bison/byacc and deal with various library issues or
command line options to support those various compiler compilers.
I've included a2p.c generated by byacc-1.9. Larry, feel free to
use your own from byacc-1.8 instead.
Diffstat (limited to 'x2p/util.h')
-rw-r--r-- | x2p/util.h | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/x2p/util.h b/x2p/util.h index eeb128ba2c..ef1cd04d04 100644 --- a/x2p/util.h +++ b/x2p/util.h @@ -15,27 +15,21 @@ #define MD_DIR 0 #define MD_FILE 1 -void util_init(); -int doshell(); -char *safemalloc(); -char *saferealloc(); -char *safecpy(); -char *safecat(); -char *cpytill(); -char *cpy2(); -char *instr(); #ifdef SETUIDGID int eaccess(); #endif + char *getwd(); -void cat(); -void prexit(); -char *get_a_line(); -char *savestr(); int makedir(); -void setenv(); -int envix(); -void notincl(); -char *getval(); -void growstr(); -void setdef(); + +char * cpy2 _(( char *to, char *from, int delim )); +char * cpytill _(( char *to, char *from, int delim )); +int croak _(( char *pat, int a1, int a2, int a3, int a4 )); +int envix _(( char *nam )); +void growstr _(( char **strptr, int *curlen, int newlen )); +char * instr _(( char *big, char *little )); +int Myfatal (); +char * safecpy _(( char *to, char *from, int len )); +char * savestr _(( char *str )); +void setenv _(( char *nam, char *val )); +void warn (); |