Changeset 1391 for branches/GNU/src/gcc/include/libiberty.h
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/include/libiberty.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 74 74 to find the declaration so provide a fully prototyped one. If it 75 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(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME) 77 78 extern char *basename PARAMS ((const char *)); 78 79 #else 79 # if !defined (HAVE_DECL_BASENAME)80 80 extern char *basename (); 81 # 81 #endif 82 82 #endif 83 83 … … 85 85 86 86 extern const char *lbasename PARAMS ((const char *)); 87 88 /* A well-defined realpath () that is always compiled in. */ 89 90 extern char *lrealpath PARAMS ((const char *)); 87 91 88 92 /* Concatenate an arbitrary number of strings. You must pass NULL as … … 146 150 extern long get_run_time PARAMS ((void)); 147 151 152 /* Generate a relocated path to some installation directory. Allocates 153 return value using malloc. */ 154 155 extern char *make_relative_prefix PARAMS ((const char *, const char *, 156 const char *)); 157 148 158 /* Choose a temporary directory to use for scratch files. */ 149 159 … … 236 246 237 247 extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC; 248 249 /* Physical memory routines. Return values are in BYTES. */ 250 extern double physmem_total PARAMS ((void)); 251 extern double physmem_available PARAMS ((void)); 238 252 239 253 /* hex character manipulation routines */ … … 265 279 extern int pwait PARAMS ((int, int *, int)); 266 280 281 #if !HAVE_DECL_ASPRINTF 267 282 /* Like sprintf but provides a pointer to malloc'd storage, which must 268 283 be freed by the caller. */ 269 284 270 285 extern int asprintf PARAMS ((char **, const char *, ...)) ATTRIBUTE_PRINTF_2; 271 286 #endif 287 288 #if !HAVE_DECL_VASPRINTF 272 289 /* Like vsprintf but provides a pointer to malloc'd storage, which 273 290 must be freed by the caller. */ … … 275 292 extern int vasprintf PARAMS ((char **, const char *, va_list)) 276 293 ATTRIBUTE_PRINTF(2,0); 294 #endif 277 295 278 296 #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.