Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2002 23:28:21 -0400 (EDT)
From:      Matt Emmerton <matt@gsicomp.on.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/43613: static-ize symbol in smbfs code
Message-ID:  <200210030328.g933SL8E024545@dhcp2.gsicomp.on.ca>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210030328.g933SL8E024545>