Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2008 00:30:03 GMT
From:      "Garrett Cooper" <yanefbsd@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/68081: [headers] [patch] sys/time.h (lint fix)
Message-ID:  <200806210030.m5L0U3Jr079362@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/68081; it has been noted by GNATS.

From: "Garrett Cooper" <yanefbsd@gmail.com>
To: bug-followup@FreeBSD.org, cyrille.lefevre@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@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@optimus /devel/ncvs/src]$ cat time_test.c
 #include "sys/sys/time.h"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806210030.m5L0U3Jr079362>