From 44ae91d171e1fdd29f960f2a67db3bed3eaafd2e Mon Sep 17 00:00:00 2001 From: Kaveh Ghazi Date: Fri, 21 Feb 2003 00:27:04 +0000 Subject: include: * libiberty.h (physmem_total, physmem_available): Prototype. libiberty: * Makefile.in (CFILES): Add physmem.c. (REQUIRED_OFILES): Add physmem.o. * configure.in: Check for sys/pstat.h. (checkfuncs): Add pstat_getstatic and pstat_getdynamic. * physmem.c: New file, copied from textutils. * config.in, configure: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@63198 138bc75d-0d04-0410-961f-82ee72b054a4 --- include/ChangeLog | 4 ++++ include/libiberty.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index 9724e6a724e..861aefc08ff 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-02-20 Kaveh R. Ghazi + + * libiberty.h (physmem_total, physmem_available): Prototype. + 2003-02-20 Daniel Jacobowitz * libiberty.h (lrealpath): Add declaration. diff --git a/include/libiberty.h b/include/libiberty.h index 0419eb1aa43..dca120efaea 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -246,6 +246,10 @@ extern char *xstrdup PARAMS ((const char *)) ATTRIBUTE_MALLOC; extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC; +/* Physical memory routines. */ +extern double physmem_total PARAMS ((void)); +extern double physmem_available PARAMS ((void)); + /* hex character manipulation routines */ #define _hex_array_size 256 -- cgit v1.2.3