diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-01 01:08:48 +0000 |
| commit | 22626efa0f96cbca4edae882e46cb56b1879706b (patch) | |
| tree | 8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/alarm.c | |
| parent | ea8d448a923f0d68d7ecf1d2a0583c7d17bdee4e (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/alarm.c')
| -rw-r--r-- | lib/libc/gen/alarm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/alarm.c b/lib/libc/gen/alarm.c index 7a7dc68ebef6..d3920cceae10 100644 --- a/lib/libc/gen/alarm.c +++ b/lib/libc/gen/alarm.c @@ -34,6 +34,8 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)alarm.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Backwards compatible alarm. @@ -46,7 +48,7 @@ alarm(secs) unsigned int secs; { struct itimerval it, oitv; - register struct itimerval *itp = ⁢ + struct itimerval *itp = ⁢ timerclear(&itp->it_interval); itp->it_value.tv_sec = secs; |
