summaryrefslogtreecommitdiffstats
path: root/contrib/gnu-sort/lib/physmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gnu-sort/lib/physmem.h')
-rw-r--r--contrib/gnu-sort/lib/physmem.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/gnu-sort/lib/physmem.h b/contrib/gnu-sort/lib/physmem.h
new file mode 100644
index 0000000..d9a9809
--- /dev/null
+++ b/contrib/gnu-sort/lib/physmem.h
@@ -0,0 +1,19 @@
+#ifndef PHYSMEM_H_
+# define PHYSMEM_H_ 1
+
+# if HAVE_CONFIG_H
+# include <config.h>
+# endif
+
+# ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
+# else
+# define PARAMS(Args) ()
+# endif
+# endif
+
+double physmem_total PARAMS ((void));
+double physmem_available PARAMS ((void));
+
+#endif /* PHYSMEM_H_ */
OpenPOWER on IntegriCloud