lkml.org 
[lkml]   [2013]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH,staging/speakup] Turn some symbols static
Turn static some symbols which do not actually need to be
externally-visible

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

diff -ur linux/drivers/staging/speakup-orig/fakekey.c linux/drivers/staging/speakup/fakekey.c
--- linux/drivers/staging/speakup-orig/fakekey.c 2011-10-24 09:10:05.000000000 +0200
+++ linux/drivers/staging/speakup/fakekey.c 2013-01-01 23:29:42.594104874 +0100
@@ -28,7 +28,7 @@
#define PRESSED 1
#define RELEASED 0

-DEFINE_PER_CPU(bool, reporting_keystroke);
+static DEFINE_PER_CPU(bool, reporting_keystroke);

static struct input_dev *virt_keyboard;

diff -ur linux/drivers/staging/speakup-orig/main.c linux/drivers/staging/speakup/main.c
--- linux/drivers/staging/speakup-orig/main.c 2012-10-01 14:19:04.552069389 +0200
+++ linux/drivers/staging/speakup/main.c 2013-01-01 23:38:06.587701022 +0100
@@ -251,14 +251,14 @@
static int keyboard_notifier_call(struct notifier_block *,
unsigned long code, void *param);

-struct notifier_block keyboard_notifier_block = {
+static struct notifier_block keyboard_notifier_block = {
.notifier_call = keyboard_notifier_call,
};

static int vt_notifier_call(struct notifier_block *,
unsigned long code, void *param);

-struct notifier_block vt_notifier_block = {
+static struct notifier_block vt_notifier_block = {
.notifier_call = vt_notifier_call,
};


\
 
 \ /
  Last update: 2013-01-02 03:21    [W:0.128 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site