From 2a82ab2f1bd64948523073d2ddcfb6884bd04367 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Sun, 22 Jan 2012 18:54:17 +0000 Subject: [PATCH] Mark new driver-csi internal variables as static so they don't result in linkable symbols --- driver-csi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/driver-csi.c b/driver-csi.c index 888f78b..f138a73 100644 --- a/driver-csi.c +++ b/driver-csi.c @@ -5,11 +5,11 @@ #include // There are 64 codes 0x40 - 0x7F -int keyinfo_initialised = 0; -struct keyinfo csi_ss3s[64]; -struct keyinfo ss3s[64]; -char ss3_kpalts[64]; -struct keyinfo csifuncs[35]; /* This value must be increased if more CSI function keys are added */ +static int keyinfo_initialised = 0; +static struct keyinfo csi_ss3s[64]; +static struct keyinfo ss3s[64]; +static char ss3_kpalts[64]; +static struct keyinfo csifuncs[35]; /* This value must be increased if more CSI function keys are added */ #define NCSIFUNCS (sizeof(csifuncs)/sizeof(csifuncs[0])) typedef struct {