patch-2.2.19 linux/drivers/isdn/sc/debug.c
Next file: linux/drivers/isdn/sc/debug.h
Previous file: linux/drivers/isdn/sc/Makefile
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sun Mar 25 11:37:34 2001
- Orig file:
v2.2.18/drivers/isdn/sc/debug.c
- Orig date:
Sun Mar 25 11:13:07 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/drivers/isdn/sc/debug.c linux/drivers/isdn/sc/debug.c
@@ -1,5 +1,5 @@
/*
- * $Id: debug.c,v 1.3 1997/10/01 09:22:20 fritz Exp $
+ * $Id: debug.c,v 1.5 2000/11/12 15:29:37 kai Exp $
* Copyright (C) 1996 SpellCaster Telecommunications Inc.
*
* This program is free software; you can redistribute it and/or modify
@@ -27,11 +27,6 @@
*/
#include <linux/kernel.h>
-#define NULL 0x0
-
-#define REQUEST_IRQ(a,b,c,d,e) request_irq(a,b,c,d,e)
-#define FREE_IRQ(a,b) free_irq(a,b)
-
inline char *strcpy(char *, const char *);
int dbg_level = 0;
@@ -61,7 +56,7 @@
*i = *j;
i++; j++;
}
- *(++i) = NULL;
+ *(++i) = 0;
return dest;
}
@@ -70,6 +65,6 @@
int i = 0;
while(dn[i] != ',')
- str[i] = dn[i++];
+ str[i] = dn[i], i++;
str[i] = 0x0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)