|
From: Peter K. <pk...@us...> - 2002-08-01 16:15:13
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
sdp.c 1.88 1.89=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Fixed a compiler warning.
The diff of the modified file(s):
--- sdp.c 11 Apr 2002 11:48:44 -0000 1.88
+++ sdp.c 1 Aug 2002 16:15:11 -0000 1.89
@@ -162,8 +162,10 @@
const char * buf, s32 count);
=20
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
static s32 sdp_proc_dir_entry_read(char *buf, char **start, off_t offset,
s32 len, s32 unused);
+#endif
=20
#else /* USERMODE STACK */
static s32 open_socket(char *name);
@@ -877,6 +879,7 @@
#endif
=20
#ifdef __KERNEL__
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
s32 sdp_proc_dir_entry_read(char *buf, char **start, off_t offset,
s32 len, s32 unused)
{
@@ -886,6 +889,7 @@
return sdp_database_read(NULL, NULL, buf, len);
#endif
}
+#endif
=20
#ifdef USE_NEW_PROC
ssize_t sdp_database_read(struct file *f, char *buf,=20
|