Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Blank-line KNF.
details: https://anonhg.NetBSD.org/src/rev/2c152e98c18f
branches: trunk
changeset: 584472:2c152e98c18f
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Sep 19 03:18:00 2005 +0000
description:
Blank-line KNF.
diffstat:
sys/sys/timepps.h | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (67 lines):
diff -r d2af637341ae -r 2c152e98c18f sys/sys/timepps.h
--- a/sys/sys/timepps.h Mon Sep 19 03:16:40 2005 +0000
+++ b/sys/sys/timepps.h Mon Sep 19 03:18:00 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timepps.h,v 1.9 2005/07/16 21:59:12 christos Exp $ */
+/* $NetBSD: timepps.h,v 1.10 2005/09/19 03:18:00 simonb Exp $ */
/*
* Copyright (c) 1998 Jonathan Stone
@@ -154,6 +154,7 @@
int filedes;
pps_handle_t *handle;
{
+
*handle = filedes;
return (0);
}
@@ -162,6 +163,7 @@
time_pps_destroy(handle)
pps_handle_t handle;
{
+
return (0);
}
@@ -170,6 +172,7 @@
pps_handle_t handle;
const pps_params_t *ppsparams;
{
+
return (ioctl(handle, PPS_IOC_SETPARAMS, __UNCONST(ppsparams)));
}
@@ -178,6 +181,7 @@
pps_handle_t handle;
pps_params_t *ppsparams;
{
+
return (ioctl(handle, PPS_IOC_GETPARAMS, ppsparams));
}
@@ -186,6 +190,7 @@
pps_handle_t handle;
int *mode;
{
+
return (ioctl(handle, PPS_IOC_GETCAP, mode));
}
@@ -196,6 +201,7 @@
pps_info_t *ppsinfobuf;
const struct timespec *timeout;
{
+
return (ioctl(handle, PPS_IOC_FETCH, ppsinfobuf));
}
@@ -206,8 +212,8 @@
const int edge;
const int tsformat;
{
+
return (ioctl(handle, PPS_IOC_KCBIND, __UNCONST(&edge)));
}
#endif /* !_KERNEL*/
-
#endif /* SYS_TIMEPPS_H_ */
Home |
Main Index |
Thread Index |
Old Index