summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2017-08-22 11:12:12 +0200
committerHenrik Rydberg <rydberg@bitmath.org>2017-11-29 22:15:52 +0100
commitd9f084c9384f99d3589cf51f8503b7aee4e9666c (patch)
tree65ddbff35244f37451b372cacf03479cfa99ca5b
parent8ba8d359392693f9882ea2d195fc1bebb8b3a29d (diff)
downloadmtdev-git-d9f084c9384f99d3589cf51f8503b7aee4e9666c.tar.gz
mtdev-mapgen.c: declare init_caps() static
init_caps() is only locally used and can thus be static. Signed-off-by: Martin Kepplinger <martink@posteo.de>
-rw-r--r--test/mtdev-mapgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mtdev-mapgen.c b/test/mtdev-mapgen.c
index c34cb7e..be4f6d4 100644
--- a/test/mtdev-mapgen.c
+++ b/test/mtdev-mapgen.c
@@ -49,7 +49,7 @@
static unsigned int cabs2mt[ABS_CNT];
static unsigned int cmt2abs[MT_ABS_SIZE];
-void init_caps()
+static void init_caps()
{
static const int init_abs_map[MT_ABS_SIZE] = MT_SLOT_ABS_EVENTS;
int i;