From matt@gsicomp.on.ca  Wed Oct  2 20:28:26 2002
Return-Path: <matt@gsicomp.on.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 91E3C37B401
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>;
          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 <FreeBSD-gnats-submit@freebsd.org>; 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 <matt@gsicomp.on.ca>
Reply-To: Matt Emmerton <matt@gsicomp.on.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: static-ize symbol in smbfs code
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43613
>Category:       kern
>Synopsis:       [smbfs] [patch] static-ize symbol in smbfs code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 02 20:30:06 PDT 2002
>Closed-Date:    Fri May 06 20:47:30 GMT 2005
>Last-Modified:  Fri May 06 20:47:30 GMT 2005
>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:
State-Changed-From-To: open->closed 
State-Changed-By: anholt 
State-Changed-When: Fri May 6 20:47:15 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43613 
>Unformatted:
