From owner-freebsd-hackers Sun Sep 7 02:07:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA09454 for hackers-outgoing; Sun, 7 Sep 1997 02:07:03 -0700 (PDT) Received: from micron.efn.org (d198-232.uoregon.edu [128.223.198.232]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA09449 for ; Sun, 7 Sep 1997 02:06:59 -0700 (PDT) Received: (from mini@localhost) by micron.efn.org (8.8.5/8.8.5) id CAA04053; Sun, 7 Sep 1997 02:06:58 -0700 (PDT) Message-ID: <19970907020657.59233@micron.efn.org> Date: Sun, 7 Sep 1997 02:06:57 -0700 From: Jonathan Mini To: hackers@freebsd.org Subject: 'warning: function declaration isn't a prototype' Reply-To: Jonathan Mini Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76e X-files: The Truth is Out There. Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am getting warnings along the lines of 'function declaration isn't a prototype' every time I declare a function that is void func(); (static or public) Does anybody know what this warning is trying to tell me? That is, why isn't the function a prototype, why does it do this, how do I get rid of the problem, and why does it warn me both on the prototype for the function and the actual declaration of the function? (this is source for an isa device in the kernel) -- Jonathan Mini (j_mini@efn.org) Ingenious Productions Software Development P.O. Box 5693 Eugene, Or 97405