summaryrefslogtreecommitdiff
path: root/x2p/util.h
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-05-01 10:07:55 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-02 15:46:51 +0000
commitb7787f18a4d9a5b6205453133731406d627268af (patch)
treee3c1f3ea3b6da55ec9b061bcd3d168147cdcac30 /x2p/util.h
parent2728842dc82a9f71891d065b28cf34767a63fb0c (diff)
downloadperl-b7787f18a4d9a5b6205453133731406d627268af.tar.gz
printf.patch: Adding printf checking for gcc
Message-ID: <20050501200755.GA30259@petdance.com> p4raw-id: //depot/perl@24365
Diffstat (limited to 'x2p/util.h')
-rw-r--r--x2p/util.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/x2p/util.h b/x2p/util.h
index e76a6120a0..8ca913b9a7 100644
--- a/x2p/util.h
+++ b/x2p/util.h
@@ -20,18 +20,15 @@
int eaccess();
#endif
-char *getwd();
-int makedir();
-
char * cpy2 ( char *to, char *from, int delim );
char * cpytill ( char *to, char *from, int delim );
void growstr ( char **strptr, int *curlen, int newlen );
char * instr ( char *big, char *little );
char * safecpy ( char *to, char *from, int len );
char * savestr ( char *str );
-void croak ( char *pat, ... );
-void fatal ( char *pat, ... );
-void warn ( char *pat, ... );
+void croak ( const char *pat, ... );
+void fatal ( const char *pat, ... );
+void warn ( const char *pat, ... );
int prewalk ( int numit, int level, int node, int *numericptr );
Malloc_t safemalloc (MEM_SIZE nbytes);