1 /* $Id: debug.c,v 1.5.6.1 2001/09/23 22:24:59 kai Exp $
3 * Copyright (C) 1996 SpellCaster Telecommunications Inc.
5 * This software may be used and distributed according to the terms
6 * of the GNU General Public License, incorporated herein by reference.
8 * For more information, please contact gpl-info@spellcast.com or write:
10 * SpellCaster Telecommunications Inc.
11 * 5621 Finch Avenue East, Unit #3
12 * Scarborough, Ontario Canada
15 * +1 (416) 297-6433 Facsimile
18 #include <linux/kernel.h>
19 #include <linux/string.h>
22 static char dbg_funcname
[255];
24 void dbg_endfunc(void)
27 printk("<-- Leaving function %s\n", dbg_funcname
);
28 strcpy(dbg_funcname
, "");
32 void dbg_func(char *func
)
34 strcpy(dbg_funcname
, func
);
36 printk("--> Entering function %s\n", dbg_funcname
);
39 inline void pullphone(char *dn
, char *str
)