[Wine-patches] [eterhack] [eter-1.0.12] parport.sys: Make some variables static.

Alexander Morozov amorozov на etersoft.ru
Вт Дек 28 21:01:53 MSK 2010


----------- следующая часть -----------
From 6ab064763b7a2285858dc3b2cb6f207a16bc8f66 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Tue, 28 Dec 2010 20:54:17 +0300
Subject: [PATCH] parport.sys: Make some variables static.

---
 dlls/parport.sys/parport.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/parport.sys/parport.c b/dlls/parport.sys/parport.c
index 37c777f..903ee74 100644
--- a/dlls/parport.sys/parport.c
+++ b/dlls/parport.sys/parport.c
@@ -57,9 +57,9 @@ struct ParPortExtension
     UNICODE_STRING interface;
 };
 
-struct parport_list pp_list = {0, NULL};
+static struct parport_list pp_list;
 
-DRIVER_OBJECT *parport_driver;
+static DRIVER_OBJECT *parport_driver;
 
 static BOOLEAN WINAPI parport_try( void *context )
 {
-- 
1.7.3.4



Подробная информация о списке рассылки Wine-patches