summaryrefslogtreecommitdiffstats
path: root/usb_stream
diff options
context:
space:
mode:
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 02:20:36 +0100
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 13:07:09 +0100
commit021c884548f8ed502fec114a1efd22679d718a19 (patch)
treeadee497f5b371155ae04a9dac23c7ed653b6a8e3 /usb_stream
parent9d65155c28d4a47022a4de7e604187b8b2ad2137 (diff)
Mark as static the functions not used outside their unit.
This allows the compiler to assume more about their interface, if at all possible. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
Diffstat (limited to 'usb_stream')
-rw-r--r--usb_stream/pcm_usb_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c
index a1a2f99..4097693 100644
--- a/usb_stream/pcm_usb_stream.c
+++ b/usb_stream/pcm_usb_stream.c
@@ -75,7 +75,7 @@ typedef struct {
static struct user_usb_stream *uus;
static pthread_mutex_t uus_mutex = PTHREAD_MUTEX_INITIALIZER;
-struct user_usb_stream *get_uus(const char *card)
+static struct user_usb_stream *get_uus(const char *card)
{
pthread_mutex_lock(&uus_mutex);