Deleted Added
full compact
main.c (37455) main.c (40060)
1/*-
2 * Copyright (c) 1980, 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 28 unchanged lines hidden (view full) ---

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
43#endif
44static const char rcsid[] =
1/*-
2 * Copyright (c) 1980, 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 28 unchanged lines hidden (view full) ---

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
43#endif
44static const char rcsid[] =
45 "$Id: main.c,v 1.8 1998/06/09 04:17:19 imp Exp $";
45 "$Id: main.c,v 1.9 1998/07/06 22:07:58 bde Exp $";
46#endif /* not lint */
47
48#include <sys/param.h>
49
50#include <err.h>
51#include <locale.h>
52#include <nlist.h>
53#include <signal.h>
54#include <stdio.h>
46#endif /* not lint */
47
48#include <sys/param.h>
49
50#include <err.h>
51#include <locale.h>
52#include <nlist.h>
53#include <signal.h>
54#include <stdio.h>
55#include <stdlib.h>
56#include <unistd.h>
55#include "systat.h"
56#include "extern.h"
57
58static struct nlist namelist[] = {
59#define X_FIRST 0
60#define X_HZ 0
61 { "_hz" },
62#define X_STATHZ 1

--- 89 unchanged lines hidden (view full) ---

152 dellave = 0.0;
153
154 signal(SIGALRM, display);
155 display(0);
156 noecho();
157 crmode();
158 keyboard();
159 /*NOTREACHED*/
57#include "systat.h"
58#include "extern.h"
59
60static struct nlist namelist[] = {
61#define X_FIRST 0
62#define X_HZ 0
63 { "_hz" },
64#define X_STATHZ 1

--- 89 unchanged lines hidden (view full) ---

154 dellave = 0.0;
155
156 signal(SIGALRM, display);
157 display(0);
158 noecho();
159 crmode();
160 keyboard();
161 /*NOTREACHED*/
162
163 return EXIT_SUCCESS;
160}
161
162void
163labels()
164{
165 if (curcmd->c_flags & CF_LOADAV) {
166 mvaddstr(2, 20,
167 "/0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10");

--- 126 unchanged lines hidden ---
164}
165
166void
167labels()
168{
169 if (curcmd->c_flags & CF_LOADAV) {
170 mvaddstr(2, 20,
171 "/0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10");

--- 126 unchanged lines hidden ---