Mercurial > hg > CbC > CbC_gcc
comparison include/libiberty.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | b7f97abdc517 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
1 /* Function declarations for libiberty. | 1 /* Function declarations for libiberty. |
2 | 2 |
3 Copyright 2001, 2002, 2005, 2007 Free Software Foundation, Inc. | 3 Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
4 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
4 | 5 |
5 Note - certain prototypes declared in this header file are for | 6 Note - certain prototypes declared in this header file are for |
6 functions whoes implementation copyright does not belong to the | 7 functions whoes implementation copyright does not belong to the |
7 FSF. Those prototypes are present in this file for reference | 8 FSF. Those prototypes are present in this file for reference |
8 purposes only and their presence in this file should not construed | 9 purposes only and their presence in this file should not construed |
309 | 310 |
310 /* Physical memory routines. Return values are in BYTES. */ | 311 /* Physical memory routines. Return values are in BYTES. */ |
311 extern double physmem_total (void); | 312 extern double physmem_total (void); |
312 extern double physmem_available (void); | 313 extern double physmem_available (void); |
313 | 314 |
315 /* Compute the 32-bit CRC of a block of memory. */ | |
316 extern unsigned int xcrc32 (const unsigned char *, int, unsigned int); | |
314 | 317 |
315 /* These macros provide a K&R/C89/C++-friendly way of allocating structures | 318 /* These macros provide a K&R/C89/C++-friendly way of allocating structures |
316 with nice encapsulation. The XDELETE*() macros are technically | 319 with nice encapsulation. The XDELETE*() macros are technically |
317 superfluous, but provided here for symmetry. Using them consistently | 320 superfluous, but provided here for symmetry. Using them consistently |
318 makes it easier to update client code to use different allocators such | 321 makes it easier to update client code to use different allocators such |