Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 96903
Collapse All | Expand All

(-)sysklogd-1.4.1/oops.c (-8 / +4 lines)
Lines 18-23 Link Here
18
18
19
/* Standard module stuff. */
19
/* Standard module stuff. */
20
#if defined(NEW_MODULES)
20
#if defined(NEW_MODULES)
21
#include <linux/config.h>
21
#include <linux/module.h>
22
#include <linux/module.h>
22
#else
23
#else
23
#include <linux/module.h>
24
#include <linux/module.h>
Lines 34-46 Link Here
34
static int oops_open(struct inode * node, struct file * file);
35
static int oops_open(struct inode * node, struct file * file);
35
static void oops(void);
36
static void oops(void);
36
37
37
static struct symbol_table these_symbols = {
38
EXPORT_SYMBOL(oops_open);
38
#include <linux/symtab_begin.h>
39
EXPORT_SYMBOL(oops_ioctl);
39
	X(oops_open),
40
EXPORT_SYMBOL(oops);
40
	X(oops_ioctl),
41
	X(oops),
42
#include <linux/symtab_end.h>
43
};
44
41
45
/* driver specific module definitions */
42
/* driver specific module definitions */
46
static struct file_operations oops_fops1 = {
43
static struct file_operations oops_fops1 = {
Lines 96-102 Link Here
96
	}
93
	}
97
94
98
	printk("oops: Registering symbols.\n");
95
	printk("oops: Registering symbols.\n");
99
  	register_symtab(&these_symbols);
100
	
96
	
101
	return 0;
97
	return 0;
102
}
98
}

Return to bug 96903