libiberty.h (91041) | libiberty.h (104834) |
---|---|
1/* Function declarations for libiberty. 2 3 Copyright 2001, 2002 Free Software Foundation, Inc. 4 5 Note - certain prototypes declared in this header file are for 6 functions whoes implementation copyright does not belong to the 7 FSF. Those prototypes are present in this file for reference 8 purposes only and their presence in this file should not construed --- 59 unchanged lines hidden (view full) --- 68 across different systems, sometimes as "char *" and sometimes as 69 "const char *" */ 70 71/* HAVE_DECL_* is a three-state macro: undefined, 0 or 1. If it is 72 undefined, we haven't run the autoconf check so provide the 73 declaration without arguments. If it is 0, we checked and failed 74 to find the declaration so provide a fully prototyped one. If it 75 is 1, we found it so don't provide any declaration at all. */ | 1/* Function declarations for libiberty. 2 3 Copyright 2001, 2002 Free Software Foundation, Inc. 4 5 Note - certain prototypes declared in this header file are for 6 functions whoes implementation copyright does not belong to the 7 FSF. Those prototypes are present in this file for reference 8 purposes only and their presence in this file should not construed --- 59 unchanged lines hidden (view full) --- 68 across different systems, sometimes as "char *" and sometimes as 69 "const char *" */ 70 71/* HAVE_DECL_* is a three-state macro: undefined, 0 or 1. If it is 72 undefined, we haven't run the autoconf check so provide the 73 declaration without arguments. If it is 0, we checked and failed 74 to find the declaration so provide a fully prototyped one. If it 75 is 1, we found it so don't provide any declaration at all. */ |
76#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || (defined (HAVE_DECL_BASENAME) && !HAVE_DECL_BASENAME) | 76#if !HAVE_DECL_BASENAME 77#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME) |
77extern char *basename PARAMS ((const char *)); 78#else | 78extern char *basename PARAMS ((const char *)); 79#else |
79# if !defined (HAVE_DECL_BASENAME) | |
80extern char *basename (); | 80extern char *basename (); |
81# endif | |
82#endif | 81#endif |
82#endif |
|
83 84/* A well-defined basename () that is always compiled in. */ 85 86extern const char *lbasename PARAMS ((const char *)); 87 88/* Concatenate an arbitrary number of strings. You must pass NULL as 89 the last argument of this function, to terminate the list of 90 strings. Allocates memory using xmalloc. */ --- 227 unchanged lines hidden --- | 83 84/* A well-defined basename () that is always compiled in. */ 85 86extern const char *lbasename PARAMS ((const char *)); 87 88/* Concatenate an arbitrary number of strings. You must pass NULL as 89 the last argument of this function, to terminate the list of 90 strings. Allocates memory using xmalloc. */ --- 227 unchanged lines hidden --- |