#include "midibuf.h"
 
 
-int midibuf_message_length(unsigned char code)
+static int midibuf_message_length(unsigned char code)
 {
        if(code < 0x80)
                return -1;
                                 this->size, this->split, this->pos_read, this->pos_write, this->full, this->command_prev);
 }
 
-int midibuf_is_empty(struct MidiBuffer *this)
+static int midibuf_is_empty(struct MidiBuffer *this)
 {
        return (this->pos_read == this->pos_write) && !this->full;
 }
 
-int midibuf_is_full(struct MidiBuffer *this)
+static int midibuf_is_full(struct MidiBuffer *this)
 {
        return this->full;
 }
 
 /*
        Send channel number (i.e., switch to a different sound).
 */
-void pod_send_channel(struct usb_line6_pod *pod, int value)
+static void pod_send_channel(struct usb_line6_pod *pod, int value)
 {
        line6_invalidate_current(&pod->dumpreq);
 
 /*
        Create sysfs entries.
 */
-int pod_create_files2(struct device *dev)
+static int pod_create_files2(struct device *dev)
 {
        int err;
 
 
 /*
        Create sysfs entries.
 */
-int variax_create_files2(struct device *dev)
+static int variax_create_files2(struct device *dev)
 {
        int err;
        CHECK_RETURN(device_create_file(dev, &dev_attr_model));