move MAX_TCNAMELEN from kern_tc.c into timetc.h

This commit is contained in:
kardel 2006-09-02 13:47:03 +00:00
parent e23bdf3c6e
commit 9cf34bf81f
1 changed files with 11 additions and 1 deletions

View File

@ -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.