summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/gprof/gprof.c2
-rw-r--r--usr.bin/nfsstat/nfsstat.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c
index 1ddc4f1..cfb9fab 100644
--- a/usr.bin/gprof/gprof.c
+++ b/usr.bin/gprof/gprof.c
@@ -417,7 +417,7 @@ void
readsamples(pfile)
FILE *pfile;
{
- register i;
+ int i;
intmax_t sample;
if (samples == 0) {
diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c
index 053a1ed..dda4bbb 100644
--- a/usr.bin/nfsstat/nfsstat.c
+++ b/usr.bin/nfsstat/nfsstat.c
@@ -91,6 +91,7 @@ char *sperc2(int, int);
#define DELTA(field) (nfsstats.field - lastst.field)
+int
main(argc, argv)
int argc;
char **argv;
OpenPOWER on IntegriCloud