Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 19:58:29 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281169 - head/sys/boot/efi/boot1
Message-ID:  <201504061958.t36JwTnW029678@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Mon Apr  6 19:58:28 2015
New Revision: 281169
URL: https://svnweb.freebsd.org/changeset/base/281169

Log:
  Make global variabled only used in this file static.

Modified:
  head/sys/boot/efi/boot1/boot1.c

Modified: head/sys/boot/efi/boot1/boot1.c
==============================================================================
--- head/sys/boot/efi/boot1/boot1.c	Mon Apr  6 19:56:27 2015	(r281168)
+++ head/sys/boot/efi/boot1/boot1.c	Mon Apr  6 19:58:28 2015	(r281169)
@@ -59,8 +59,8 @@ static char *__ultoa(char *buf, u_long v
 static int domount(EFI_DEVICE_PATH *device, EFI_BLOCK_IO *blkio, int quiet);
 static void load(const char *fname);
 
-EFI_SYSTEM_TABLE *systab;
-EFI_HANDLE *image;
+static EFI_SYSTEM_TABLE *systab;
+static EFI_HANDLE *image;
 
 static void
 bcopy(const void *src, void *dst, size_t len)



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