move MAX_TCNAMELEN from kern_tc.c into timetc.h
This commit is contained in:
parent
e23bdf3c6e
commit
9cf34bf81f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: timetc.h,v 1.2 2006/06/07 22:34:18 kardel Exp $ */
|
||||
/* $NetBSD: timetc.h,v 1.3 2006/09/02 13:47:03 kardel Exp $ */
|
||||
|
||||
/*-
|
||||
* ----------------------------------------------------------------------------
|
||||
|
@ -18,6 +18,16 @@
|
|||
#error "no user-serviceable parts inside"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* max recommended timecounter name length
|
||||
*
|
||||
* it is not a functional limit but names longer
|
||||
* then that will not be controllable via
|
||||
* sysctl. see kern/kern_tc.c for the sysctl
|
||||
* implementation.
|
||||
*/
|
||||
#define MAX_TCNAMELEN 64
|
||||
|
||||
/*-
|
||||
* `struct timecounter' is the interface between the hardware which implements
|
||||
* a timecounter and the MI code which uses this to keep track of time.
|
||||
|
|
Loading…
Reference in New Issue