summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2003-02-21 01:35:29 +0000
committerDJ Delorie <dj@delorie.com>2003-02-21 01:35:29 +0000
commit5f10a440378a61cec6c492c8b70c3fd22d4095bd (patch)
treec009fe50623775878a16e8f438c780b37766716f /include
parent8015f541f597e1ed8dc7980f96b61b7c06f20db6 (diff)
downloadgdb-5f10a440378a61cec6c492c8b70c3fd22d4095bd.tar.gz
merge from gcc
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/libiberty.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index c35014e9e0f..43550c843bb 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * libiberty.h (physmem_total, physmem_available): Prototype.
+
2003-02-20 Daniel Jacobowitz <drow@mvista.com>
* 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