From f8bcdf079fca91da9a3f945adae23ca5ac82cf42 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 21 Feb 2003 01:35:25 +0000 Subject: [PATCH] merge from gcc --- include/ChangeLog | 4 ++++ include/libiberty.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index c35014e9e..43550c843 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 0419eb1aa..dca120efa 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