# HG changeset patch # User Matti Hamalainen # Date 1212753695 -10800 # Node ID 77439faa1934890e381cf5df1d46b2a9bed30d5c # Parent 8d10c920d26d51c4470177709c1ba31ab31c6b45 Staticize. diff -r 8d10c920d26d -r 77439faa1934 src/OSS/OSS.c --- a/src/OSS/OSS.c Fri Jun 06 14:52:25 2008 +0300 +++ b/src/OSS/OSS.c Fri Jun 06 15:01:35 2008 +0300 @@ -27,7 +27,7 @@ OSSConfig oss_cfg; -void oss_about(void) +static void oss_about(void) { static GtkWidget *dialog; @@ -54,8 +54,7 @@ G_CALLBACK(gtk_widget_destroyed), &dialog); } - -void oss_init(void) +static void oss_init(void) { mcs_handle_t *db; @@ -87,7 +86,7 @@ } } -void oss_cleanup(void) +static void oss_cleanup(void) { if (oss_cfg.alt_audio_device) { g_free(oss_cfg.alt_audio_device); @@ -100,7 +99,7 @@ } } -OutputPlugin oss_op = { +static OutputPlugin oss_op = { .description = "OSS Output Plugin", /* Description */ .init = oss_init, .cleanup = oss_cleanup, @@ -120,6 +119,6 @@ .tell_audio = oss_tell }; -OutputPlugin *oss_oplist[] = { &oss_op, NULL }; +static OutputPlugin *oss_oplist[] = { &oss_op, NULL }; DECLARE_PLUGIN(OSS, NULL, NULL, NULL, oss_oplist, NULL, NULL, NULL, NULL); diff -r 8d10c920d26d -r 77439faa1934 src/OSS/OSS.h --- a/src/OSS/OSS.h Fri Jun 06 14:52:25 2008 +0300 +++ b/src/OSS/OSS.h Fri Jun 06 15:01:35 2008 +0300 @@ -50,9 +50,6 @@ extern OSSConfig oss_cfg; -void oss_init(void); -void oss_cleanup(void); -void oss_about(void); void oss_configure(void); void oss_get_volume(int *l, int *r);