summaryrefslogtreecommitdiff
path: root/loadtest.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-10-14 21:54:04 +0000
committerPaul Smith <psmith@gnu.org>2002-10-14 21:54:04 +0000
commit6374309c6d4d17ab1e4109133ab8aad55f77d51c (patch)
tree91011a11f637df979b9c5dd8b0f1fc4bfc2be831 /loadtest.c
parent8bbdbb02b30ffd39c2fac9259b3a91cb62e1711d (diff)
downloadgunmake-6374309c6d4d17ab1e4109133ab8aad55f77d51c.tar.gz
Convert the source code to use ANSI C style function definitions and
enable the automake ansi2knr capability. Right now this doesn't quite build using a K&R compiler because of a problem with the loadavg test program, but the rest of the code works. I'm asking the automake list about this problem.
Diffstat (limited to 'loadtest.c')
-rw-r--r--loadtest.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/loadtest.c b/loadtest.c
deleted file mode 100644
index 19b80f6..0000000
--- a/loadtest.c
+++ /dev/null
@@ -1,31 +0,0 @@
-extern volatile void exit (int);
-extern double load_average (void);
-
-double max_load_average = -1;
-unsigned int job_slots_used = 0;
-
-
-int
-main ()
-{
- printf ("load_average () = %.2f\n", load_average ());
- exit (0);
-}
-
-void
-error (char *fmt, ...)
-{
- exit (1);
-}
-
-void
-perror_with_name (char *a, char *b)
-{
- exit (1);
-}
-
-void
-wait_for_children (int i)
-{
- return;
-}