#define bcm_sk(sk) ((struct bcm_user_data *)(sk)->user_data)
static struct proc_dir_entry *proc_dir = NULL;
-int bcm_read_proc(char *page, char **start, off_t off,
- int count, int *eof, void *data);
+static int bcm_read_proc(char *page, char **start, off_t off,
+ int count, int *eof, void *data);
static void bcm_notifier(unsigned long msg, void *data);
static int bcm_release(struct socket *sock);
return 0;
}
-int bcm_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data)
+static int bcm_read_proc(char *page, char **start, off_t off,
+ int count, int *eof, void *data)
{
int len = 0;
struct bcm_user_data *ud = (struct bcm_user_data *) data;
};
static struct proc_dir_entry *proc_dir = NULL;
-int bcm_read_proc(char *page, char **start, off_t off,
- int count, int *eof, void *data);
+static int bcm_read_proc(char *page, char **start, off_t off,
+ int count, int *eof, void *data);
static void bcm_notifier(unsigned long msg, void *data);
static int bcm_release(struct socket *sock);
return 0;
}
-int bcm_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data)
+static int bcm_read_proc(char *page, char **start, off_t off,
+ int count, int *eof, void *data)
{
int len = 0;
struct bcm_user_data *ud = (struct bcm_user_data *) data;