aboutsummaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index f9916c58c73..53cfc21d78f 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -242,6 +242,10 @@ extern char *xstrdup PARAMS ((const char *)) ATTRIBUTE_MALLOC;
extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC;
+/* Physical memory routines. Return values are in BYTES. */
+extern double physmem_total PARAMS ((void));
+extern double physmem_available PARAMS ((void));
+
/* hex character manipulation routines */
#define _hex_array_size 256