Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 2010 10:20:11 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203160 - in head/sys: amd64/amd64 i386/i386
Message-ID:  <201001291020.o0TAKB8c031998@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Fri Jan 29 10:20:11 2010
New Revision: 203160
URL: http://svn.freebsd.org/changeset/base/203160

Log:
  add static qualifier to definition of a function already declared static
  
  This is for improving code readibility only.
  
  MFC after:	1 week

Modified:
  head/sys/amd64/amd64/msi.c
  head/sys/i386/i386/msi.c

Modified: head/sys/amd64/amd64/msi.c
==============================================================================
--- head/sys/amd64/amd64/msi.c	Fri Jan 29 10:10:14 2010	(r203159)
+++ head/sys/amd64/amd64/msi.c	Fri Jan 29 10:20:11 2010	(r203160)
@@ -288,7 +288,7 @@ msi_init(void)
 	mtx_init(&msi_lock, "msi", NULL, MTX_DEF);
 }
 
-void
+static void
 msi_create_source(void)
 {
 	struct msi_intsrc *msi;

Modified: head/sys/i386/i386/msi.c
==============================================================================
--- head/sys/i386/i386/msi.c	Fri Jan 29 10:10:14 2010	(r203159)
+++ head/sys/i386/i386/msi.c	Fri Jan 29 10:20:11 2010	(r203160)
@@ -288,7 +288,7 @@ msi_init(void)
 	mtx_init(&msi_lock, "msi", NULL, MTX_DEF);
 }
 
-void
+static void
 msi_create_source(void)
 {
 	struct msi_intsrc *msi;



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