diff options
author | Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-11-21 02:20:36 +0100 |
---|---|---|
committer | Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-11-21 13:07:09 +0100 |
commit | 021c884548f8ed502fec114a1efd22679d718a19 (patch) | |
tree | adee497f5b371155ae04a9dac23c7ed653b6a8e3 /maemo/dsp-ctl.c | |
parent | 9d65155c28d4a47022a4de7e604187b8b2ad2137 (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 'maemo/dsp-ctl.c')
-rw-r--r-- | maemo/dsp-ctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/maemo/dsp-ctl.c b/maemo/dsp-ctl.c index 6aac273..523c580 100644 --- a/maemo/dsp-ctl.c +++ b/maemo/dsp-ctl.c @@ -66,7 +66,7 @@ static snd_ctl_dsp_t *free_ref; * * @return zero. success. */ -int free_control_list(control_list_t * control_list) +static int free_control_list(control_list_t * control_list) { struct list_head *pos, *q; control_list_t *tmp; @@ -616,9 +616,9 @@ SND_CTL_PLUGIN_DEFINE_FUNC(dsp_ctl) DLEAVE(ret); return ret; } -void dsp_ctl_descructor(void) __attribute__ ((destructor)); +static void dsp_ctl_descructor(void) __attribute__ ((destructor)); -void dsp_ctl_descructor(void) +static void dsp_ctl_descructor(void) { DENTER(); DPRINT("dsp ctl destructor\n"); |