[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] getloadavg patch to assume C89 or better
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] getloadavg patch to assume C89 or better |
Date: |
09 Sep 2003 00:29:30 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I installed this:
2003-09-09 Paul Eggert <address@hidden>
* getloadavg.c (getloadavg, main): Define via prototypes.
Index: lib/getloadavg.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/getloadavg.c,v
retrieving revision 1.18
diff -p -u -r1.18 getloadavg.c
--- lib/getloadavg.c 4 Aug 2003 20:21:41 -0000 1.18
+++ lib/getloadavg.c 9 Sep 2003 07:20:40 -0000
@@ -1,7 +1,7 @@
/* Get the system load averages.
Copyright (C) 1985, 1986, 1987, 1988, 1989, 1991, 1992, 1993, 1994,
- 1995, 1997, 2003 Free Software Foundation, Inc.
+ 1995, 1997, 1999, 2000, 2003 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with gnulib.
Bugs can be reported to address@hidden
@@ -505,9 +505,7 @@ static kvm_t *kd;
or -1 if an error occurred. */
int
-getloadavg (loadavg, nelem)
- double loadavg[];
- int nelem;
+getloadavg (double loadavg[], int nelem)
{
int elem = 0; /* Return value. */
@@ -999,9 +997,7 @@ getloadavg (loadavg, nelem)
#ifdef TEST
void
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
int naptime = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] getloadavg patch to assume C89 or better,
Paul Eggert <=