summaryrefslogtreecommitdiffstats
path: root/examples/pnmshow24.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pnmshow24.c')
-rw-r--r--examples/pnmshow24.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pnmshow24.c b/examples/pnmshow24.c
index bcee3e4..b59b3b5 100644
--- a/examples/pnmshow24.c
+++ b/examples/pnmshow24.c
@@ -6,7 +6,7 @@
#error "I need the ALLOW24BPP flag to work"
#endif
-void HandleKey(rfbBool down,rfbKeySym key,rfbClientPtr cl)
+static void HandleKey(rfbBool down,rfbKeySym key,rfbClientPtr cl)
{
if(down && (key==XK_Escape || key=='q' || key=='Q'))
rfbCloseClient(cl);