Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Apr 2001 20:43:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Apr 2001 20:43:49 -0400 Received: from leibniz.math.psu.edu ([146.186.130.2]:47615 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Tue, 17 Apr 2001 20:43:34 -0400 Date: Tue, 17 Apr 2001 20:43:32 -0400 (EDT) From: Alexander Viro To: Jeff Golds cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] proc_lookup not exported In-Reply-To: <3ADCD8D1.6753B822@resilience.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Apr 2001, Jeff Golds wrote: > Hi folks. > > I noticed that proc_lookup is not exported in fs/proc/procfs_syms.c but > that the function is an external in include/linux/proc_fs.h. Not every public function needs to be exported. proc_lookup() is shared between different files in fs/proc/, so it can't be made static. However, it got no business being used outside of the fs/proc and it certainly shouldn't be used in modules. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/