patch-1.3.39 linux/include/asm-alpha/string.h

Next file: linux/include/asm-alpha/system.h
Previous file: linux/include/asm-alpha/resource.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.38/linux/include/asm-alpha/string.h linux/include/asm-alpha/string.h
@@ -1,6 +1,8 @@
 #ifndef __ALPHA_STRING_H__
 #define __ALPHA_STRING_H__
 
+#ifdef __KERNEL__
+
 extern void * __constant_c_memset(void *, unsigned long, long);
 extern void * __memset(void *, char, size_t);
 
@@ -26,5 +28,7 @@
  __memset((s),(c),(count)))
 
 #define __HAVE_ARCH_STRLEN
+
+#endif /* __KERNEL__ */
 
 #endif /* __ALPHA_STRING_H__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this