OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d1f58
)
We do not supply a BSD style getloadavg() function
author
Eric Andersen
<andersen@codepoet.org>
Mon, 15 Aug 2005 12:39:57 +0000
(12:39 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 15 Aug 2005 12:39:57 +0000
(12:39 -0000)
include/stdlib.h
patch
|
blob
|
history
diff --git
a/include/stdlib.h
b/include/stdlib.h
index
eaeb7a1
..
cb84675
100644
(file)
--- a/
include/stdlib.h
+++ b/
include/stdlib.h
@@
-768,13
+768,6
@@
extern int ptsname_r (int __fd, char *__buf, size_t __buflen) __THROW;
extern int getpt (void) __THROW;
#endif
-#ifdef __USE_BSD
-/* Put the 1 minute, 5 minute and 15 minute load averages into the first
- NELEM elements of LOADAVG. Return the number written (never more than
- three, but may be less than NELEM), or -1 if an error occurred. */
-extern int getloadavg (double __loadavg[], int __nelem) __THROW;
-#endif
-
#endif /* don't just need malloc and calloc */
#undef __need_malloc_and_calloc