Date: Wed, 9 Jun 2004 13:13:45 +0200 (CEST) From: bugghy <bugghy@phenix.rootshell.be> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/67748: duplicate include in a module Message-ID: <Pine.LNX.4.44.0406091313170.8373-100000@phenix.rootshell.be> Resent-Message-ID: <200406091120.i59BKRHS095135@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0406091313170.8373-100000>