From owner-freebsd-bugs Wed Oct 2 20:30:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2031C37B404 for ; Wed, 2 Oct 2002 20:30:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E40F43E77 for ; Wed, 2 Oct 2002 20:30:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g933U7Co096212 for ; Wed, 2 Oct 2002 20:30:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g933U76D096211; Wed, 2 Oct 2002 20:30:07 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91E3C37B401 for ; Wed, 2 Oct 2002 20:28:26 -0700 (PDT) Received: from tomts6-srv.bellnexxia.net (tomts6.bellnexxia.net [209.226.175.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3B5B43E4A for ; Wed, 2 Oct 2002 20:28:25 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.176.54]) by tomts6-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021003032824.ZNMZ13033.tomts6-srv.bellnexxia.net@xena.gsicomp.on.ca> for ; Wed, 2 Oct 2002 23:28:24 -0400 Received: from dhcp2.gsicomp.on.ca (dhcp2.gsicomp.on.ca [192.168.0.11]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with ESMTP id g9328Pp12230 for ; Wed, 2 Oct 2002 22:08:25 -0400 (EDT) (envelope-from matt@dhcp2.gsicomp.on.ca) Received: (from matt@localhost) by dhcp2.gsicomp.on.ca (8.12.6/8.12.6/Submit) id g933SL8E024545; Wed, 2 Oct 2002 23:28:21 -0400 (EDT) (envelope-from matt) Message-Id: <200210030328.g933SL8E024545@dhcp2.gsicomp.on.ca> Date: Wed, 2 Oct 2002 23:28:21 -0400 (EDT) From: Matt Emmerton Reply-To: Matt Emmerton To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/43613: static-ize symbol in smbfs code Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43613 >Category: kern >Synopsis: static-ize symbol in smbfs code >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 Oct 02 20:30:06 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Matt Emmerton >Release: FreeBSD 5.0-CURRENT i386 >Organization: GSI Computer Services >Environment: System: FreeBSD laptop.gsicomp.on.ca 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Mon Sep 23 21:24:44 EDT 2002 root@laptop.gsicomp.on.ca:/usr/obj/usr/src/sys/LAPTOP.20020914.01 i386 >Description: PHK's JKH TODO List - kernel orphan symbol review This patch makes a symbol in smbfs static, as it not required to be visible outside of the smbfs code. >How-To-Repeat: >Fix: --- sys/fs/smbfs/smbfs_subr.c.orig Wed Oct 2 23:25:46 2002 +++ sys/fs/smbfs/smbfs_subr.c Wed Oct 2 23:25:53 2002 @@ -122,7 +122,7 @@ /* * Number of seconds between 1970 and 1601 year */ -int64_t DIFF1970TO1601 = 11644473600ULL; +static int64_t DIFF1970TO1601 = 11644473600ULL; /* * Time from server comes as UTC, so no need to use tz >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message