svn commit: r281169 - head/sys/boot/efi/boot1

Andrew Turner andrew at FreeBSD.org
Mon Apr 6 19:58:29 UTC 2015


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)


More information about the svn-src-all mailing list