diff options
author | Patrick Mochel <mochel@kernel.bkbits.net> | 2003-10-08 00:30:10 -0700 |
---|---|---|
committer | Patrick Mochel <mochel@kernel.bkbits.net> | 2003-10-08 00:30:10 -0700 |
commit | 4d3840247d43c779291588e3bf944ee8b9ebb40b (patch) | |
tree | 4ad447ef4d938d16d03ab058c3d634d39858fb69 /lib | |
parent | e551764f1379832c80135f66c64b2977f9d6756a (diff) | |
parent | 2ea73f8a58bb5f4487bba6a586460e4c990dbdb3 (diff) | |
download | history-4d3840247d43c779291588e3bf944ee8b9ebb40b.tar.gz |
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/mochel/linux-2.5-core
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ctype.c | 3 | ||||
-rw-r--r-- | lib/dump_stack.c | 2 | ||||
-rw-r--r-- | lib/percpu_counter.c | 4 | ||||
-rw-r--r-- | lib/string.c | 6 | ||||
-rw-r--r-- | lib/vsprintf.c | 18 |
5 files changed, 31 insertions, 2 deletions
diff --git a/lib/ctype.c b/lib/ctype.c index b5f72a5763ac63..d02ace14a322e5 100644 --- a/lib/ctype.c +++ b/lib/ctype.c @@ -5,6 +5,7 @@ */ #include <linux/ctype.h> +#include <linux/module.h> unsigned char _ctype[] = { _C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */ @@ -32,4 +33,4 @@ _U,_U,_U,_U,_U,_U,_U,_P,_U,_U,_U,_U,_U,_U,_U,_L, /* 208-223 */ _L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L, /* 224-239 */ _L,_L,_L,_L,_L,_L,_L,_P,_L,_L,_L,_L,_L,_L,_L,_L}; /* 240-255 */ - +EXPORT_SYMBOL(_ctype); diff --git a/lib/dump_stack.c b/lib/dump_stack.c index 47c2728ab8c7d3..53bff4c8452b52 100644 --- a/lib/dump_stack.c +++ b/lib/dump_stack.c @@ -11,3 +11,5 @@ void dump_stack(void) printk(KERN_NOTICE "This architecture does not implement dump_stack()\n"); } + +EXPORT_SYMBOL(dump_stack); diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c index a9afaec00bdd83..2c5c7b5753616c 100644 --- a/lib/percpu_counter.c +++ b/lib/percpu_counter.c @@ -1,4 +1,4 @@ - +#include <linux/module.h> #include <linux/percpu_counter.h> #include <linux/sched.h> @@ -17,3 +17,5 @@ void percpu_counter_mod(struct percpu_counter *fbc, long amount) fbc->counters[cpu].count = count; put_cpu(); } + +EXPORT_SYMBOL(percpu_counter_mod); diff --git a/lib/string.c b/lib/string.c index 4917b54e605ff9..5c2ad6a174f44b 100644 --- a/lib/string.c +++ b/lib/string.c @@ -55,6 +55,8 @@ int strnicmp(const char *s1, const char *s2, size_t len) } return (int)c1 - (int)c2; } + +EXPORT_SYMBOL(strnicmp); #endif #ifndef __HAVE_ARCH_STRCPY @@ -325,6 +327,8 @@ size_t strspn(const char *s, const char *accept) return count; } + +EXPORT_SYMBOL(strspn); #endif /** @@ -396,6 +400,8 @@ char * strsep(char **s, const char *ct) return sbegin; } + +EXPORT_SYMBOL(strsep); #endif #ifndef __HAVE_ARCH_MEMSET diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 0a12089169a61e..0803ac5438e122 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -15,6 +15,7 @@ */ #include <stdarg.h> +#include <linux/module.h> #include <linux/types.h> #include <linux/string.h> #include <linux/ctype.h> @@ -53,6 +54,8 @@ unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base) return result; } +EXPORT_SYMBOL(simple_strtoul); + /** * simple_strtol - convert a string to a signed long * @cp: The start of the string @@ -66,6 +69,8 @@ long simple_strtol(const char *cp,char **endp,unsigned int base) return simple_strtoul(cp,endp,base); } +EXPORT_SYMBOL(simple_strtol); + /** * simple_strtoull - convert a string to an unsigned long long * @cp: The start of the string @@ -97,6 +102,8 @@ unsigned long long simple_strtoull(const char *cp,char **endp,unsigned int base) return result; } +EXPORT_SYMBOL(simple_strtoull); + /** * simple_strtoll - convert a string to a signed long long * @cp: The start of the string @@ -458,6 +465,8 @@ int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) return str-buf; } +EXPORT_SYMBOL(vsnprintf); + /** * snprintf - Format a string and place it in a buffer * @buf: The buffer to place the result into @@ -476,6 +485,8 @@ int snprintf(char * buf, size_t size, const char *fmt, ...) return i; } +EXPORT_SYMBOL(snprintf); + /** * vsprintf - Format a string and place it in a buffer * @buf: The buffer to place the result into @@ -490,6 +501,7 @@ int vsprintf(char *buf, const char *fmt, va_list args) return vsnprintf(buf, 0xFFFFFFFFUL, fmt, args); } +EXPORT_SYMBOL(vsprintf); /** * sprintf - Format a string and place it in a buffer @@ -508,6 +520,8 @@ int sprintf(char * buf, const char *fmt, ...) return i; } +EXPORT_SYMBOL(sprintf); + /** * vsscanf - Unformat a buffer into a list of arguments * @buf: input buffer @@ -707,6 +721,8 @@ int vsscanf(const char * buf, const char * fmt, va_list args) return num; } +EXPORT_SYMBOL(vsscanf); + /** * sscanf - Unformat a buffer into a list of arguments * @buf: input buffer @@ -723,3 +739,5 @@ int sscanf(const char * buf, const char * fmt, ...) va_end(args); return i; } + +EXPORT_SYMBOL(sscanf); |