[PATCH]: global variables are automatically initialized to 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
        globals are already initialized to 0.

Later, Juan.

Index: drivers/sgi/char/sgicons.c
===================================================================
RCS file: /home/cvs/linux/drivers/sgi/char/sgicons.c,v
retrieving revision 1.13.2.1
diff -u -r1.13.2.1 sgicons.c
--- drivers/sgi/char/sgicons.c	6 Aug 2002 01:51:52 -0000	1.13.2.1
+++ drivers/sgi/char/sgicons.c	19 Dec 2002 10:38:05 -0000
@@ -14,8 +14,8 @@
 #include "gconsole.h"
 
 /* This is the system graphics console (the first adapter found) */
-struct console_ops *gconsole = 0;
-struct console_ops *real_gconsole = 0;
+struct console_ops *gconsole;
+struct console_ops *real_gconsole;
 
 void
 enable_gconsole (void)


-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux