1*906afcb8SAndy Fiddaman 2*906afcb8SAndy Fiddaman/* : : generated by proto : : */ 3*906afcb8SAndy Fiddaman/* : : generated from contrib/ast/src/lib/libast/features/map.c by iffe version 2012-07-17 : : */ 4*906afcb8SAndy Fiddaman#ifndef _def_map_ast 5*906afcb8SAndy Fiddaman#if !defined(__PROTO__) 6*906afcb8SAndy Fiddaman# if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus) 7*906afcb8SAndy Fiddaman# if defined(__cplusplus) 8*906afcb8SAndy Fiddaman# define __LINKAGE__ "C" 9*906afcb8SAndy Fiddaman# else 10*906afcb8SAndy Fiddaman# define __LINKAGE__ 11*906afcb8SAndy Fiddaman# endif 12*906afcb8SAndy Fiddaman# define __STDARG__ 13*906afcb8SAndy Fiddaman# define __PROTO__(x) x 14*906afcb8SAndy Fiddaman# define __OTORP__(x) 15*906afcb8SAndy Fiddaman# define __PARAM__(n,o) n 16*906afcb8SAndy Fiddaman# if !defined(__STDC__) && !defined(__cplusplus) 17*906afcb8SAndy Fiddaman# if !defined(c_plusplus) 18*906afcb8SAndy Fiddaman# define const 19*906afcb8SAndy Fiddaman# endif 20*906afcb8SAndy Fiddaman# define signed 21*906afcb8SAndy Fiddaman# define void int 22*906afcb8SAndy Fiddaman# define volatile 23*906afcb8SAndy Fiddaman# define __V_ char 24*906afcb8SAndy Fiddaman# else 25*906afcb8SAndy Fiddaman# define __V_ void 26*906afcb8SAndy Fiddaman# endif 27*906afcb8SAndy Fiddaman# else 28*906afcb8SAndy Fiddaman# define __PROTO__(x) () 29*906afcb8SAndy Fiddaman# define __OTORP__(x) x 30*906afcb8SAndy Fiddaman# define __PARAM__(n,o) o 31*906afcb8SAndy Fiddaman# define __LINKAGE__ 32*906afcb8SAndy Fiddaman# define __V_ char 33*906afcb8SAndy Fiddaman# define const 34*906afcb8SAndy Fiddaman# define signed 35*906afcb8SAndy Fiddaman# define void int 36*906afcb8SAndy Fiddaman# define volatile 37*906afcb8SAndy Fiddaman# endif 38*906afcb8SAndy Fiddaman# define __MANGLE__ __LINKAGE__ 39*906afcb8SAndy Fiddaman# if defined(__cplusplus) || defined(c_plusplus) 40*906afcb8SAndy Fiddaman# define __VARARG__ ... 41*906afcb8SAndy Fiddaman# else 42*906afcb8SAndy Fiddaman# define __VARARG__ 43*906afcb8SAndy Fiddaman# endif 44*906afcb8SAndy Fiddaman# if defined(__STDARG__) 45*906afcb8SAndy Fiddaman# define __VA_START__(p,a) va_start(p,a) 46*906afcb8SAndy Fiddaman# else 47*906afcb8SAndy Fiddaman# define __VA_START__(p,a) va_start(p) 48*906afcb8SAndy Fiddaman# endif 49*906afcb8SAndy Fiddaman# if !defined(__INLINE__) 50*906afcb8SAndy Fiddaman# if defined(__cplusplus) 51*906afcb8SAndy Fiddaman# define __INLINE__ extern __MANGLE__ inline 52*906afcb8SAndy Fiddaman# else 53*906afcb8SAndy Fiddaman# if defined(_WIN32) && !defined(__GNUC__) 54*906afcb8SAndy Fiddaman# define __INLINE__ __inline 55*906afcb8SAndy Fiddaman# endif 56*906afcb8SAndy Fiddaman# endif 57*906afcb8SAndy Fiddaman# endif 58*906afcb8SAndy Fiddaman#endif 59*906afcb8SAndy Fiddaman#if !defined(__LINKAGE__) 60*906afcb8SAndy Fiddaman#define __LINKAGE__ /* 2004-08-11 transition */ 61*906afcb8SAndy Fiddaman#endif 62*906afcb8SAndy Fiddaman 63*906afcb8SAndy Fiddaman#define _def_map_ast 1 64*906afcb8SAndy Fiddaman#define _sys_types 1 /* #include <sys/types.h> ok */ 65*906afcb8SAndy Fiddaman 66*906afcb8SAndy Fiddaman 67*906afcb8SAndy Fiddaman/* 68*906afcb8SAndy Fiddaman * prototypes provided for standard interfaces hijacked 69*906afcb8SAndy Fiddaman * by ast and mapped to _ast_* but already prototyped 70*906afcb8SAndy Fiddaman * unmapped in native headers included by <ast_std.h> 71*906afcb8SAndy Fiddaman */ 72*906afcb8SAndy Fiddaman 73*906afcb8SAndy Fiddaman#if _BLD_ast && defined(__EXPORT__) 74*906afcb8SAndy Fiddaman#undef __MANGLE__ 75*906afcb8SAndy Fiddaman#define __MANGLE__ __LINKAGE__ __EXPORT__ 76*906afcb8SAndy Fiddaman#endif 77*906afcb8SAndy Fiddaman 78*906afcb8SAndy Fiddaman 79*906afcb8SAndy Fiddaman#define _map_libc 1 80*906afcb8SAndy Fiddaman#undef basename 81*906afcb8SAndy Fiddaman#define basename _ast_basename 82*906afcb8SAndy Fiddaman#undef dirname 83*906afcb8SAndy Fiddaman#define dirname _ast_dirname 84*906afcb8SAndy Fiddaman#undef eaccess 85*906afcb8SAndy Fiddaman#define eaccess _ast_eaccess 86*906afcb8SAndy Fiddaman#undef execvpe 87*906afcb8SAndy Fiddaman#define execvpe _ast_execvpe 88*906afcb8SAndy Fiddamanextern __MANGLE__ int execvpe __PROTO__((const char*, char* const[], char* const[])); 89*906afcb8SAndy Fiddaman#undef fnmatch 90*906afcb8SAndy Fiddaman#define fnmatch _ast_fnmatch 91*906afcb8SAndy Fiddaman#undef fts_children 92*906afcb8SAndy Fiddaman#define fts_children _ast_fts_children 93*906afcb8SAndy Fiddaman#undef fts_close 94*906afcb8SAndy Fiddaman#define fts_close _ast_fts_close 95*906afcb8SAndy Fiddaman#undef fts_flags 96*906afcb8SAndy Fiddaman#define fts_flags _ast_fts_flags 97*906afcb8SAndy Fiddaman#undef fts_notify 98*906afcb8SAndy Fiddaman#define fts_notify _ast_fts_notify 99*906afcb8SAndy Fiddaman#undef fts_open 100*906afcb8SAndy Fiddaman#define fts_open _ast_fts_open 101*906afcb8SAndy Fiddaman#undef fts_read 102*906afcb8SAndy Fiddaman#define fts_read _ast_fts_read 103*906afcb8SAndy Fiddaman#undef fts_set 104*906afcb8SAndy Fiddaman#define fts_set _ast_fts_set 105*906afcb8SAndy Fiddaman#undef ftw 106*906afcb8SAndy Fiddaman#define ftw _ast_ftw 107*906afcb8SAndy Fiddaman#undef ftwalk 108*906afcb8SAndy Fiddaman#define ftwalk _ast_ftwalk 109*906afcb8SAndy Fiddaman#undef ftwflags 110*906afcb8SAndy Fiddaman#define ftwflags _ast_ftwflags 111*906afcb8SAndy Fiddaman#undef getcwd 112*906afcb8SAndy Fiddaman#define getcwd _ast_getcwd 113*906afcb8SAndy Fiddamanextern __MANGLE__ char* getcwd __PROTO__((char*, size_t)); 114*906afcb8SAndy Fiddaman#undef getdate 115*906afcb8SAndy Fiddaman#define getdate _ast_getdate 116*906afcb8SAndy Fiddaman#undef getopt 117*906afcb8SAndy Fiddaman#define getopt _ast_getopt 118*906afcb8SAndy Fiddaman#undef getsubopt 119*906afcb8SAndy Fiddaman#define getsubopt _ast_getsubopt 120*906afcb8SAndy Fiddaman#undef getopt_long 121*906afcb8SAndy Fiddaman#define getopt_long _ast_getopt_long 122*906afcb8SAndy Fiddaman#undef getopt_long_only 123*906afcb8SAndy Fiddaman#define getopt_long_only _ast_getopt_long_only 124*906afcb8SAndy Fiddaman#undef optopt 125*906afcb8SAndy Fiddaman#define optopt _ast_optopt 126*906afcb8SAndy Fiddaman#undef optarg 127*906afcb8SAndy Fiddaman#define optarg _ast_optarg 128*906afcb8SAndy Fiddaman#undef optind 129*906afcb8SAndy Fiddaman#define optind _ast_optind 130*906afcb8SAndy Fiddaman#undef opterr 131*906afcb8SAndy Fiddaman#define opterr _ast_opterr 132*906afcb8SAndy Fiddaman#undef getwd 133*906afcb8SAndy Fiddaman#define getwd _ast_getwd 134*906afcb8SAndy Fiddamanextern __MANGLE__ char* getwd __PROTO__((char*)); 135*906afcb8SAndy Fiddaman#undef glob 136*906afcb8SAndy Fiddaman#define glob _ast_glob 137*906afcb8SAndy Fiddaman#undef globfree 138*906afcb8SAndy Fiddaman#define globfree _ast_globfree 139*906afcb8SAndy Fiddaman#undef memdup 140*906afcb8SAndy Fiddaman#define memdup _ast_memdup 141*906afcb8SAndy Fiddaman#undef memfatal 142*906afcb8SAndy Fiddaman#define memfatal _ast_memfatal 143*906afcb8SAndy Fiddaman#undef memhash 144*906afcb8SAndy Fiddaman#define memhash _ast_memhash 145*906afcb8SAndy Fiddaman#undef memsum 146*906afcb8SAndy Fiddaman#define memsum _ast_memsum 147*906afcb8SAndy Fiddaman#undef mkstemp 148*906afcb8SAndy Fiddaman#define mkstemp _ast_mkstemp 149*906afcb8SAndy Fiddamanextern __MANGLE__ int mkstemp __PROTO__((char*)); 150*906afcb8SAndy Fiddaman#undef mktemp 151*906afcb8SAndy Fiddaman#define mktemp _ast_mktemp 152*906afcb8SAndy Fiddamanextern __MANGLE__ char* mktemp __PROTO__((char*)); 153*906afcb8SAndy Fiddaman#undef mktime 154*906afcb8SAndy Fiddaman#define mktime _ast_mktime 155*906afcb8SAndy Fiddaman#undef nftw 156*906afcb8SAndy Fiddaman#define nftw _ast_nftw 157*906afcb8SAndy Fiddaman#undef optctx 158*906afcb8SAndy Fiddaman#define optctx _ast_optctx 159*906afcb8SAndy Fiddaman#undef optesc 160*906afcb8SAndy Fiddaman#define optesc _ast_optesc 161*906afcb8SAndy Fiddaman#undef optget 162*906afcb8SAndy Fiddaman#define optget _ast_optget 163*906afcb8SAndy Fiddaman#undef opthelp 164*906afcb8SAndy Fiddaman#define opthelp _ast_opthelp 165*906afcb8SAndy Fiddaman#undef optjoin 166*906afcb8SAndy Fiddaman#define optjoin _ast_optjoin 167*906afcb8SAndy Fiddaman#undef optstr 168*906afcb8SAndy Fiddaman#define optstr _ast_optstr 169*906afcb8SAndy Fiddaman#undef optusage 170*906afcb8SAndy Fiddaman#define optusage _ast_optusage 171*906afcb8SAndy Fiddaman#undef pathaccess 172*906afcb8SAndy Fiddaman#define pathaccess _ast_pathaccess 173*906afcb8SAndy Fiddaman#undef pathbin 174*906afcb8SAndy Fiddaman#define pathbin _ast_pathbin 175*906afcb8SAndy Fiddaman#undef pathcanon 176*906afcb8SAndy Fiddaman#define pathcanon _ast_pathcanon 177*906afcb8SAndy Fiddaman#undef pathcat 178*906afcb8SAndy Fiddaman#define pathcat _ast_pathcat 179*906afcb8SAndy Fiddaman#undef pathcd 180*906afcb8SAndy Fiddaman#define pathcd _ast_pathcd 181*906afcb8SAndy Fiddaman#undef pathcheck 182*906afcb8SAndy Fiddaman#define pathcheck _ast_pathcheck 183*906afcb8SAndy Fiddaman#undef pathexists 184*906afcb8SAndy Fiddaman#define pathexists _ast_pathexists 185*906afcb8SAndy Fiddaman#undef pathfind 186*906afcb8SAndy Fiddaman#define pathfind _ast_pathfind 187*906afcb8SAndy Fiddaman#undef pathgetlink 188*906afcb8SAndy Fiddaman#define pathgetlink _ast_pathgetlink 189*906afcb8SAndy Fiddaman#undef pathinclude 190*906afcb8SAndy Fiddaman#define pathinclude _ast_pathinclude 191*906afcb8SAndy Fiddaman#undef pathkey 192*906afcb8SAndy Fiddaman#define pathkey _ast_pathkey 193*906afcb8SAndy Fiddaman#undef pathnative 194*906afcb8SAndy Fiddaman#define pathnative _ast_pathnative 195*906afcb8SAndy Fiddaman#undef pathpath 196*906afcb8SAndy Fiddaman#define pathpath _ast_pathpath 197*906afcb8SAndy Fiddaman#undef pathposix 198*906afcb8SAndy Fiddaman#define pathposix _ast_pathposix 199*906afcb8SAndy Fiddaman#undef pathprobe 200*906afcb8SAndy Fiddaman#define pathprobe _ast_pathprobe 201*906afcb8SAndy Fiddaman#undef pathprog 202*906afcb8SAndy Fiddaman#define pathprog _ast_pathprog 203*906afcb8SAndy Fiddaman#undef pathrepl 204*906afcb8SAndy Fiddaman#define pathrepl _ast_pathrepl 205*906afcb8SAndy Fiddaman#undef pathsetlink 206*906afcb8SAndy Fiddaman#define pathsetlink _ast_pathsetlink 207*906afcb8SAndy Fiddaman#undef pathshell 208*906afcb8SAndy Fiddaman#define pathshell _ast_pathshell 209*906afcb8SAndy Fiddaman#undef pathstat 210*906afcb8SAndy Fiddaman#define pathstat _ast_pathstat 211*906afcb8SAndy Fiddaman#undef pathtemp 212*906afcb8SAndy Fiddaman#define pathtemp _ast_pathtemp 213*906afcb8SAndy Fiddaman#undef pathtmp 214*906afcb8SAndy Fiddaman#define pathtmp _ast_pathtmp 215*906afcb8SAndy Fiddaman#undef procclose 216*906afcb8SAndy Fiddaman#define procclose _ast_procclose 217*906afcb8SAndy Fiddaman#undef procfree 218*906afcb8SAndy Fiddaman#define procfree _ast_procfree 219*906afcb8SAndy Fiddaman#undef procopen 220*906afcb8SAndy Fiddaman#define procopen _ast_procopen 221*906afcb8SAndy Fiddaman#undef procrun 222*906afcb8SAndy Fiddaman#define procrun _ast_procrun 223*906afcb8SAndy Fiddaman#undef putenv 224*906afcb8SAndy Fiddaman#define putenv _ast_putenv 225*906afcb8SAndy Fiddaman#undef re_comp 226*906afcb8SAndy Fiddaman#define re_comp _ast_re_comp 227*906afcb8SAndy Fiddaman#undef re_exec 228*906afcb8SAndy Fiddaman#define re_exec _ast_re_exec 229*906afcb8SAndy Fiddaman#undef realpath 230*906afcb8SAndy Fiddaman#define realpath _ast_realpath 231*906afcb8SAndy Fiddamanextern __MANGLE__ char* realpath __PROTO__((const char*, char*)); 232*906afcb8SAndy Fiddaman#undef regaddclass 233*906afcb8SAndy Fiddaman#define regaddclass _ast_regaddclass 234*906afcb8SAndy Fiddaman#undef regalloc 235*906afcb8SAndy Fiddaman#define regalloc _ast_regalloc 236*906afcb8SAndy Fiddaman#undef regcache 237*906afcb8SAndy Fiddaman#define regcache _ast_regcache 238*906afcb8SAndy Fiddaman#undef regclass 239*906afcb8SAndy Fiddaman#define regclass _ast_regclass 240*906afcb8SAndy Fiddaman#undef regcmp 241*906afcb8SAndy Fiddaman#define regcmp _ast_regcmp 242*906afcb8SAndy Fiddaman#undef regcollate 243*906afcb8SAndy Fiddaman#define regcollate _ast_regcollate 244*906afcb8SAndy Fiddaman#undef regcomb 245*906afcb8SAndy Fiddaman#define regcomb _ast_regcomb 246*906afcb8SAndy Fiddaman#undef regcomp 247*906afcb8SAndy Fiddaman#define regcomp _ast_regcomp 248*906afcb8SAndy Fiddaman#undef regdecomp 249*906afcb8SAndy Fiddaman#define regdecomp _ast_regdecomp 250*906afcb8SAndy Fiddaman#undef regdup 251*906afcb8SAndy Fiddaman#define regdup _ast_regdup 252*906afcb8SAndy Fiddaman#undef regerror 253*906afcb8SAndy Fiddaman#define regerror _ast_regerror 254*906afcb8SAndy Fiddaman#undef regex 255*906afcb8SAndy Fiddaman#define regex _ast_regex 256*906afcb8SAndy Fiddaman#undef regexec 257*906afcb8SAndy Fiddaman#define regexec _ast_regexec 258*906afcb8SAndy Fiddaman#undef regfatal 259*906afcb8SAndy Fiddaman#define regfatal _ast_regfatal 260*906afcb8SAndy Fiddaman#undef regfatalpat 261*906afcb8SAndy Fiddaman#define regfatalpat _ast_regfatalpat 262*906afcb8SAndy Fiddaman#undef regfree 263*906afcb8SAndy Fiddaman#define regfree _ast_regfree 264*906afcb8SAndy Fiddaman#undef regncomp 265*906afcb8SAndy Fiddaman#define regncomp _ast_regncomp 266*906afcb8SAndy Fiddaman#undef regnexec 267*906afcb8SAndy Fiddaman#define regnexec _ast_regnexec 268*906afcb8SAndy Fiddaman#undef regrecord 269*906afcb8SAndy Fiddaman#define regrecord _ast_regrecord 270*906afcb8SAndy Fiddaman#undef regrexec 271*906afcb8SAndy Fiddaman#define regrexec _ast_regrexec 272*906afcb8SAndy Fiddaman#undef regstat 273*906afcb8SAndy Fiddaman#define regstat _ast_regstat 274*906afcb8SAndy Fiddaman#undef regsub 275*906afcb8SAndy Fiddaman#define regsub _ast_regsub 276*906afcb8SAndy Fiddaman#undef regsubcomp 277*906afcb8SAndy Fiddaman#define regsubcomp _ast_regsubcomp 278*906afcb8SAndy Fiddaman#undef regsubexec 279*906afcb8SAndy Fiddaman#define regsubexec _ast_regsubexec 280*906afcb8SAndy Fiddaman#undef regsubflags 281*906afcb8SAndy Fiddaman#define regsubflags _ast_regsubflags 282*906afcb8SAndy Fiddaman#undef regsubfree 283*906afcb8SAndy Fiddaman#define regsubfree _ast_regsubfree 284*906afcb8SAndy Fiddaman#undef remove 285*906afcb8SAndy Fiddaman#define remove _ast_remove 286*906afcb8SAndy Fiddamanextern __MANGLE__ int remove __PROTO__((const char*)); 287*906afcb8SAndy Fiddaman#undef resolvepath 288*906afcb8SAndy Fiddaman#define resolvepath _ast_resolvepath 289*906afcb8SAndy Fiddamanextern __MANGLE__ int resolvepath __PROTO__((const char*, char*, size_t)); 290*906afcb8SAndy Fiddaman#undef setenv 291*906afcb8SAndy Fiddaman#define setenv _ast_setenv 292*906afcb8SAndy Fiddamanextern __MANGLE__ int setenv __PROTO__((const char*, const char*, int)); 293*906afcb8SAndy Fiddaman#undef setenviron 294*906afcb8SAndy Fiddaman#define setenviron _ast_setenviron 295*906afcb8SAndy Fiddaman#undef sigcritical 296*906afcb8SAndy Fiddaman#define sigcritical _ast_sigcritical 297*906afcb8SAndy Fiddaman#undef signal 298*906afcb8SAndy Fiddaman#define signal _ast_signal 299*906afcb8SAndy Fiddaman#undef sigunblock 300*906afcb8SAndy Fiddaman#define sigunblock _ast_sigunblock 301*906afcb8SAndy Fiddaman#undef stracmp 302*906afcb8SAndy Fiddaman#define stracmp _ast_stracmp 303*906afcb8SAndy Fiddaman#undef strcopy 304*906afcb8SAndy Fiddaman#define strcopy _ast_strcopy 305*906afcb8SAndy Fiddaman#undef strelapsed 306*906afcb8SAndy Fiddaman#define strelapsed _ast_strelapsed 307*906afcb8SAndy Fiddaman#undef stresc 308*906afcb8SAndy Fiddaman#define stresc _ast_stresc 309*906afcb8SAndy Fiddaman#undef streval 310*906afcb8SAndy Fiddaman#define streval _ast_streval 311*906afcb8SAndy Fiddaman#undef strexpr 312*906afcb8SAndy Fiddaman#define strexpr _ast_strexpr 313*906afcb8SAndy Fiddaman#undef strftime 314*906afcb8SAndy Fiddaman#define strftime _ast_strftime 315*906afcb8SAndy Fiddaman#undef strgid 316*906afcb8SAndy Fiddaman#define strgid _ast_strgid 317*906afcb8SAndy Fiddaman#undef strgrpmatch 318*906afcb8SAndy Fiddaman#define strgrpmatch _ast_strgrpmatch 319*906afcb8SAndy Fiddaman#undef strhash 320*906afcb8SAndy Fiddaman#define strhash _ast_strhash 321*906afcb8SAndy Fiddaman#undef strkey 322*906afcb8SAndy Fiddaman#define strkey _ast_strkey 323*906afcb8SAndy Fiddaman#undef strlcat 324*906afcb8SAndy Fiddaman#define strlcat _ast_strlcat 325*906afcb8SAndy Fiddamanextern __MANGLE__ size_t strlcat __PROTO__((char*, const char*, size_t)); 326*906afcb8SAndy Fiddaman#undef strlcpy 327*906afcb8SAndy Fiddaman#define strlcpy _ast_strlcpy 328*906afcb8SAndy Fiddamanextern __MANGLE__ size_t strlcpy __PROTO__((char*, const char*, size_t)); 329*906afcb8SAndy Fiddaman#undef strlook 330*906afcb8SAndy Fiddaman#define strlook _ast_strlook 331*906afcb8SAndy Fiddaman#undef strmatch 332*906afcb8SAndy Fiddaman#define strmatch _ast_strmatch 333*906afcb8SAndy Fiddaman#undef strmode 334*906afcb8SAndy Fiddaman#define strmode _ast_strmode 335*906afcb8SAndy Fiddaman#undef strnacmp 336*906afcb8SAndy Fiddaman#define strnacmp _ast_strnacmp 337*906afcb8SAndy Fiddaman#undef strncopy 338*906afcb8SAndy Fiddaman#define strncopy _ast_strncopy 339*906afcb8SAndy Fiddaman#undef strntod 340*906afcb8SAndy Fiddaman#define strntod _ast_strntod 341*906afcb8SAndy Fiddaman#undef strntol 342*906afcb8SAndy Fiddaman#define strntol _ast_strntol 343*906afcb8SAndy Fiddaman#undef strntold 344*906afcb8SAndy Fiddaman#define strntold _ast_strntold 345*906afcb8SAndy Fiddaman#undef strntoll 346*906afcb8SAndy Fiddaman#define strntoll _ast_strntoll 347*906afcb8SAndy Fiddaman#undef strntoul 348*906afcb8SAndy Fiddaman#define strntoul _ast_strntoul 349*906afcb8SAndy Fiddaman#undef strntoull 350*906afcb8SAndy Fiddaman#define strntoull _ast_strntoull 351*906afcb8SAndy Fiddaman#undef stropt 352*906afcb8SAndy Fiddaman#define stropt _ast_stropt 353*906afcb8SAndy Fiddaman#undef strperm 354*906afcb8SAndy Fiddaman#define strperm _ast_strperm 355*906afcb8SAndy Fiddaman#undef strpsearch 356*906afcb8SAndy Fiddaman#define strpsearch _ast_strpsearch 357*906afcb8SAndy Fiddaman#undef strptime 358*906afcb8SAndy Fiddaman#define strptime _ast_strptime 359*906afcb8SAndy Fiddaman#undef strsearch 360*906afcb8SAndy Fiddaman#define strsearch _ast_strsearch 361*906afcb8SAndy Fiddaman#undef strsort 362*906afcb8SAndy Fiddaman#define strsort _ast_strsort 363*906afcb8SAndy Fiddaman#undef strsubmatch 364*906afcb8SAndy Fiddaman#define strsubmatch _ast_strsubmatch 365*906afcb8SAndy Fiddaman#undef strsum 366*906afcb8SAndy Fiddaman#define strsum _ast_strsum 367*906afcb8SAndy Fiddaman#undef strtape 368*906afcb8SAndy Fiddaman#define strtape _ast_strtape 369*906afcb8SAndy Fiddaman#undef strtoip4 370*906afcb8SAndy Fiddaman#define strtoip4 _ast_strtoip4 371*906afcb8SAndy Fiddaman#undef strton 372*906afcb8SAndy Fiddaman#define strton _ast_strton 373*906afcb8SAndy Fiddaman#undef strtonll 374*906afcb8SAndy Fiddaman#define strtonll _ast_strtonll 375*906afcb8SAndy Fiddaman#undef struid 376*906afcb8SAndy Fiddaman#define struid _ast_struid 377*906afcb8SAndy Fiddaman#undef struniq 378*906afcb8SAndy Fiddaman#define struniq _ast_struniq 379*906afcb8SAndy Fiddaman#undef system 380*906afcb8SAndy Fiddaman#define system _ast_system 381*906afcb8SAndy Fiddamanextern __MANGLE__ int system __PROTO__((const char*)); 382*906afcb8SAndy Fiddaman#undef tempnam 383*906afcb8SAndy Fiddaman#define tempnam _ast_tempnam 384*906afcb8SAndy Fiddamanextern __MANGLE__ char* tempnam __PROTO__((const char*, const char*)); 385*906afcb8SAndy Fiddaman#undef tmpnam 386*906afcb8SAndy Fiddaman#define tmpnam _ast_tmpnam 387*906afcb8SAndy Fiddamanextern __MANGLE__ char* tmpnam __PROTO__((char*)); 388*906afcb8SAndy Fiddaman#undef touch 389*906afcb8SAndy Fiddaman#define touch _ast_touch 390*906afcb8SAndy Fiddaman#undef wordexp 391*906afcb8SAndy Fiddaman#define wordexp _ast_wordexp 392*906afcb8SAndy Fiddaman#undef wordfree 393*906afcb8SAndy Fiddaman#define wordfree _ast_wordfree 394*906afcb8SAndy Fiddaman#undef unsetenv 395*906afcb8SAndy Fiddaman#define unsetenv _ast_unsetenv 396*906afcb8SAndy Fiddaman 397*906afcb8SAndy Fiddaman/* cannot override local malloc */ 398*906afcb8SAndy Fiddaman#define _map_malloc 1 399*906afcb8SAndy Fiddaman#undef calloc 400*906afcb8SAndy Fiddaman#define calloc _ast_calloc 401*906afcb8SAndy Fiddamanextern __MANGLE__ __V_* calloc __PROTO__((size_t, size_t)); 402*906afcb8SAndy Fiddaman#undef cfree 403*906afcb8SAndy Fiddaman#define cfree _ast_cfree 404*906afcb8SAndy Fiddamanextern __MANGLE__ void cfree __PROTO__((__V_*)); 405*906afcb8SAndy Fiddaman#undef free 406*906afcb8SAndy Fiddaman#define free _ast_free 407*906afcb8SAndy Fiddamanextern __MANGLE__ void free __PROTO__((__V_*)); 408*906afcb8SAndy Fiddaman#undef malloc 409*906afcb8SAndy Fiddaman#define malloc _ast_malloc 410*906afcb8SAndy Fiddamanextern __MANGLE__ __V_* malloc __PROTO__((size_t)); 411*906afcb8SAndy Fiddaman#undef memalign 412*906afcb8SAndy Fiddaman#define memalign _ast_memalign 413*906afcb8SAndy Fiddamanextern __MANGLE__ __V_* memalign __PROTO__((size_t, size_t)); 414*906afcb8SAndy Fiddaman#undef realloc 415*906afcb8SAndy Fiddaman#define realloc _ast_realloc 416*906afcb8SAndy Fiddamanextern __MANGLE__ __V_* realloc __PROTO__((__V_*, size_t)); 417*906afcb8SAndy Fiddaman#undef strdup 418*906afcb8SAndy Fiddaman#define strdup _ast_strdup 419*906afcb8SAndy Fiddamanextern __MANGLE__ char* strdup __PROTO__((const char*)); 420*906afcb8SAndy Fiddaman#undef valloc 421*906afcb8SAndy Fiddaman#define valloc _ast_valloc 422*906afcb8SAndy Fiddamanextern __MANGLE__ __V_* valloc __PROTO__((size_t)); 423*906afcb8SAndy Fiddaman#undef strtol 424*906afcb8SAndy Fiddaman#define strtol _ast_strtol 425*906afcb8SAndy Fiddaman#undef strtoul 426*906afcb8SAndy Fiddaman#define strtoul _ast_strtoul 427*906afcb8SAndy Fiddaman#undef strtoll 428*906afcb8SAndy Fiddaman#define strtoll _ast_strtoll 429*906afcb8SAndy Fiddaman#undef strtoull 430*906afcb8SAndy Fiddaman#define strtoull _ast_strtoull 431*906afcb8SAndy Fiddaman#undef strtod 432*906afcb8SAndy Fiddaman#define strtod _ast_strtod 433*906afcb8SAndy Fiddaman#undef strtold 434*906afcb8SAndy Fiddaman#define strtold _ast_strtold 435*906afcb8SAndy Fiddamanextern __MANGLE__ long strtol __PROTO__((const char*, char**, int)); 436*906afcb8SAndy Fiddamanextern __MANGLE__ unsigned long strtoul __PROTO__((const char*, char**, int)); 437*906afcb8SAndy Fiddamanextern __MANGLE__ double strtod __PROTO__((const char*, char**)); 438*906afcb8SAndy Fiddaman#if !_UWIN 439*906afcb8SAndy Fiddaman#undef __MANGLE__ 440*906afcb8SAndy Fiddaman#define __MANGLE__ __LINKAGE__ 441*906afcb8SAndy Fiddaman#endif 442*906afcb8SAndy Fiddamanextern __MANGLE__ _ast_fltmax_t strtold __PROTO__((const char*, char**)); 443*906afcb8SAndy Fiddaman#undef __MANGLE__ 444*906afcb8SAndy Fiddaman#define __MANGLE__ __LINKAGE__ 445*906afcb8SAndy Fiddamanextern __MANGLE__ _ast_intmax_t strtoll __PROTO__((const char*, char**, int)); 446*906afcb8SAndy Fiddamanextern __MANGLE__ unsigned _ast_intmax_t strtoull __PROTO__((const char*, char**, int)); 447*906afcb8SAndy Fiddaman 448*906afcb8SAndy Fiddaman#define cmdopen_20120411 _ast_cmdopen_20120411 449*906afcb8SAndy Fiddaman#define cmdopen_20110505 _ast_cmdopen_20110505 450*906afcb8SAndy Fiddaman#define pathaccess_20100601 _ast_pathaccess_20100601 451*906afcb8SAndy Fiddaman#define pathcanon_20100601 _ast_pathcanon_20100601 452*906afcb8SAndy Fiddaman#define pathcat_20100601 _ast_pathcat_20100601 453*906afcb8SAndy Fiddaman#define pathkey_20100601 _ast_pathkey_20100601 454*906afcb8SAndy Fiddaman#define pathpath_20100601 _ast_pathpath_20100601 455*906afcb8SAndy Fiddaman#define pathprobe_20100601 _ast_pathprobe_20100601 456*906afcb8SAndy Fiddaman#define pathrepl_20100601 _ast_pathrepl_20100601 457*906afcb8SAndy Fiddaman#define regexec_20120528 _ast_regexec_20120528 458*906afcb8SAndy Fiddaman#define regnexec_20120528 _ast_regnexec_20120528 459*906afcb8SAndy Fiddaman#define regrexec_20120528 _ast_regrexec_20120528 460*906afcb8SAndy Fiddaman#define regsubexec_20120528 _ast_regsubexec_20120528 461*906afcb8SAndy Fiddaman#define sfkeyprintf_20000308 _ast_sfkeyprintf_20000308 462*906afcb8SAndy Fiddaman#define strgrpmatch_20120528 _ast_strgrpmatch_20120528 463*906afcb8SAndy Fiddaman 464*906afcb8SAndy Fiddaman#undef __MANGLE__ 465*906afcb8SAndy Fiddaman#define __MANGLE__ __LINKAGE__ 466*906afcb8SAndy Fiddaman#endif 467