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