misc/67748: duplicate include in a module
bugghy
bugghy at phenix.rootshell.be
Wed Jun 9 11:20:29 GMT 2004
>Number: 67748
>Category: misc
>Synopsis: duplicate include in a module
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 09 11:20:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: bugghy
>Release: FreeBSD 5.2.1-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD illusion.com 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #37: Sun May 30 15:14:21 GMT 2004 root at illusion.com:/usr/obj/usr/src/sys/BUGNERIC i386
>Description:
# cat /usr/share/examples/kld/cdev/module/cdev.c |grep systm
#include <sys/systm.h>
#include <sys/systm.h>
As you can see sys/systm.h has been included twice in the program.
>How-To-Repeat:
cat /usr/share/examples/kld/cdev/module/cdev.c | grep systm
>Fix:
remove one of the includes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list