summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-04-20 00:04:08 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-04-20 00:04:08 +0000
commit06860eff860ba8dfe7b5bb06c4a594f386e225cf (patch)
tree0fa652d12fd1a8d4e75f2426b1eae32e9d246680
parent984278b10ac4fd3d124a8110c0d61b01c16bf0b1 (diff)
downloadrockbox-06860eff860ba8dfe7b5bb06c4a594f386e225cf.tar.gz
rockbox-06860eff860ba8dfe7b5bb06c4a594f386e225cf.tar.bz2
rockbox-06860eff860ba8dfe7b5bb06c4a594f386e225cf.zip
Made global variable ff_mode local by making it static (should be accessed by status_get_ffmode() anyway).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17179 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/status.c2
-rw-r--r--apps/status.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/apps/status.c b/apps/status.c
index 468ca19c13..4ca85c7a4e 100644
--- a/apps/status.c
+++ b/apps/status.c
@@ -50,7 +50,7 @@
#include "pcm_record.h"
#endif
-enum playmode ff_mode;
+static enum playmode ff_mode;
void status_init(void)
{
diff --git a/apps/status.h b/apps/status.h
index f42352be8e..ac405dda5b 100644
--- a/apps/status.h
+++ b/apps/status.h
@@ -19,8 +19,6 @@
#ifndef _STATUS_H
#define _STATUS_H
-extern enum playmode ff_mode;
-
#if defined(HAVE_LCD_CHARCELLS)
extern bool record;
extern bool audio;