summaryrefslogtreecommitdiffstats
path: root/usr.bin/ktrace/subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ktrace/subr.c')
-rw-r--r--usr.bin/ktrace/subr.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr.bin/ktrace/subr.c b/usr.bin/ktrace/subr.c
index f7c324c..3996914 100644
--- a/usr.bin/ktrace/subr.c
+++ b/usr.bin/ktrace/subr.c
@@ -56,8 +56,7 @@ void timevalsub(struct timeval *, struct timeval *);
void timevalfix(struct timeval *);
int
-getpoints(s)
- char *s;
+getpoints(char *s)
{
int facs = 0;
@@ -93,8 +92,7 @@ getpoints(s)
}
void
-timevaladd(t1, t2)
- struct timeval *t1, *t2;
+timevaladd(struct timeval *t1, struct timeval *t2)
{
t1->tv_sec += t2->tv_sec;
t1->tv_usec += t2->tv_usec;
@@ -102,8 +100,7 @@ timevaladd(t1, t2)
}
void
-timevalsub(t1, t2)
- struct timeval *t1, *t2;
+timevalsub(struct timeval *t1, struct timeval *t2)
{
t1->tv_sec -= t2->tv_sec;
t1->tv_usec -= t2->tv_usec;
@@ -111,8 +108,7 @@ timevalsub(t1, t2)
}
void
-timevalfix(t1)
- struct timeval *t1;
+timevalfix(struct timeval *t1)
{
if (t1->tv_usec < 0) {
t1->tv_sec--;
OpenPOWER on IntegriCloud