diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
commit | 76a8fab4adc293982f355609b89dde88d5f355e0 (patch) | |
tree | b8fe58ce54cade4122402c57328a9691064b2590 /src/src_lyrics.h | |
parent | 0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1 (diff) | |
download | mpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.gz mpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.xz mpd-76a8fab4adc293982f355609b89dde88d5f355e0.zip |
fix function prototypes
Add missing prototypes, and fix wrong prototypes. Convert lots of
functions to "static" when they are only used within the current
source file.
Diffstat (limited to '')
-rw-r--r-- | src/src_lyrics.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/src_lyrics.h b/src/src_lyrics.h index 140906e26..7a2e7eaee 100644 --- a/src/src_lyrics.h +++ b/src/src_lyrics.h @@ -55,11 +55,11 @@ struct src_lyr char *description; int (*register_src_lyr) (src_lyr *source_descriptor); - int (*deregister_src_lyr) (); + int (*deregister_src_lyr)(void); int (*check_lyr) (char *artist, char *title, char *url); int (*get_lyr) (char *artist, char *title); - int (*state_lyr) (); + int (*state_lyr)(void); #ifndef DISABLE_PLUGIN_SYSTEM GModule *module; @@ -70,8 +70,10 @@ typedef int (*src_lyr_plugin_register) (src_lyr *source_descriptor); GArray *src_lyr_stack; -int src_lyr_stack_init (); -int src_lyr_init (); +int get_text_line(formed_text *text, int num, char *dest, int len); + +void src_lyr_stack_init(void); +int src_lyr_init(void); int get_lyr_by_src (int priority, char *artist, char *title); #endif |