summaryrefslogtreecommitdiffstats
path: root/examples/fontsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fontsel.c')
-rw-r--r--examples/fontsel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/fontsel.c b/examples/fontsel.c
index a2a2f82..85d2624 100644
--- a/examples/fontsel.c
+++ b/examples/fontsel.c
@@ -3,16 +3,16 @@
#define FONTDIR "/usr/lib/kbd/consolefonts/"
#define DEFAULTFONT FONTDIR "default8x16"
-char *fontlist[50]={
+static char *fontlist[50]={
"8x16alt", "b.fnt", "c.fnt", "default8x16", "m.fnt", "ml.fnt", "mod_d.fnt",
"mod_s.fnt", "mr.fnt", "mu.fnt", "r.fnt", "rl.fnt", "ro.fnt", "s.fnt",
"sc.fnt", "scrawl_s.fnt", "scrawl_w.fnt", "sd.fnt", "t.fnt",
- 0
+ NULL
};
-rfbScreenInfoPtr rfbScreen = 0;
-rfbFontDataPtr curFont = 0;
-void showFont(int index)
+static rfbScreenInfoPtr rfbScreen = NULL;
+static rfbFontDataPtr curFont = NULL;
+static void showFont(int index)
{
char buffer[1024];