summaryrefslogtreecommitdiff
path: root/amidi
diff options
context:
space:
mode:
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 13:09:56 +0100
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 13:09:56 +0100
commitca1ea1e90484bf8cd2a7ef78f29e4f02a457d584 (patch)
treec3354245d4eca3b0723e46693ce4b1891b72c901 /amidi
parentf53441ae6880ace555a53ff6afba76475d5d19dd (diff)
Mark static the functions not used outside their unit.
This way the compiler can assume more information about their interface for optimisation. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
Diffstat (limited to 'amidi')
-rw-r--r--amidi/amidi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amidi/amidi.c b/amidi/amidi.c
index bf95a32..82eeff4 100644
--- a/amidi/amidi.c
+++ b/amidi/amidi.c
@@ -445,7 +445,7 @@ static void sig_handler(int dummy)
stop = 1;
}
-void add_send_hex_data(const char *str)
+static void add_send_hex_data(const char *str)
{
int length;
char *s;