From: Juan Quintela <quintela@mandrakesoft.com>
To: Ralf Baechle <ralf@linux-mips.org>, mipslist <linux-mips@linux-mips.org>
Subject: [PATCH]: global variables are automatically initialized to 0
Date: 19 Dec 2002 12:03:09 +0100 [thread overview]
Message-ID: <m2k7i6l18y.fsf@demo.mitica> (raw)
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
reply other threads:[~2002-12-19 10:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2k7i6l18y.fsf@demo.mitica \
--to=quintela@mandrakesoft.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.