From owner-freebsd-hackers Tue Apr 30 19:07:09 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA02859 for hackers-outgoing; Tue, 30 Apr 1996 19:07:09 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA02852 for ; Tue, 30 Apr 1996 19:07:04 -0700 (PDT) Received: from palmer.demon.co.uk (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with ESMTP id DAA17255 for ; Wed, 1 May 1996 03:06:42 +0100 (BST) To: hackers@FreeBSD.ORG From: "Gary Palmer" Subject: Warnings in LINT Date: Wed, 01 May 1996 03:06:42 +0100 Message-ID: <17253.830916402@palmer.demon.co.uk> Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk What is the ``correct'' way to silence these warnings: ../../gnu/isdn/iitel.c:1: warning: `_itelid' defined but not used ../../gnu/isdn/isdn_ioctl.h:1: warning: `_isdn_ioctl_id' defined but not used My initial thought is to hide them with a KERN_RCS ifdef (inspired by libc), but is that the right thing to do? Any other ideas? Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD - Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info.