changeset 2694:77439faa1934

Staticize.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Jun 2008 15:01:35 +0300
parents 8d10c920d26d
children c2861c84f850
files src/OSS/OSS.c src/OSS/OSS.h
diffstat 2 files changed, 5 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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);