kern/68081: [headers] [patch] sys/time.h (lint fix)

Garrett Cooper yanefbsd at gmail.com
Sat Jun 21 00:30:04 UTC 2008


The following reply was made to PR kern/68081; it has been noted by GNATS.

From: "Garrett Cooper" <yanefbsd at gmail.com>
To: bug-followup at FreeBSD.org, cyrille.lefevre at laposte.net
Cc:  
Subject: Re: kern/68081: [headers] [patch] sys/time.h (lint fix)
Date: Fri, 20 Jun 2008 17:19:59 -0700

 Haven't used lint(1) before, but I don't think this is an issue (at
 least not on 8-CURRENT):
 Cheers,
 -Garrett
 
 [gcooper at optimus /devel/ncvs/src]$ lint time_test.c
 time_test.c:
 _types.h(60): warning: struct __timer never defined [233]
 _types.h(61): warning: struct __mq never defined [233]
 _pthreadtypes.h(44): warning: struct pthread never defined [233]
 _pthreadtypes.h(45): warning: struct pthread_attr never defined [233]
 _pthreadtypes.h(46): warning: struct pthread_cond never defined [233]
 _pthreadtypes.h(47): warning: struct pthread_cond_attr never defined [233]
 _pthreadtypes.h(48): warning: struct pthread_mutex never defined [233]
 _pthreadtypes.h(49): warning: struct pthread_mutex_attr never defined [233]
 _pthreadtypes.h(51): warning: struct pthread_rwlock never defined [233]
 _pthreadtypes.h(52): warning: struct pthread_rwlockattr never defined [233]
 _pthreadtypes.h(53): warning: struct pthread_barrier never defined [233]
 _pthreadtypes.h(54): warning: struct pthread_barrier_attr never defined [233]
 _pthreadtypes.h(55): warning: struct pthread_spinlock never defined [233]
 _pthreadtypes.h(75): warning: struct pthread_barrierattr never defined [233]
 time.h(59): warning: static function bintime_addx unused [236]
 time.h(70): warning: static function bintime_add unused [236]
 time.h(82): warning: static function bintime_sub unused [236]
 time.h(108): warning: static function bintime2timespec unused [236]
 time.h(116): warning: static function timespec2bintime unused [236]
 time.h(125): warning: static function bintime2timeval unused [236]
 time.h(133): warning: static function timeval2bintime unused [236]
 time.h(152): warning: struct sigevent never defined [233]
 lint: cannot find llib-lc.ln
 Lint pass2:
 
 [gcooper at optimus /devel/ncvs/src]$ cat time_test.c
 #include "sys/sys/time.h"


More information about the freebsd-bugs mailing list