mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
b9075fa968
Standardize the style for compiler based printf format verification. Standardized the location of __printf too. Done via script and a little typing. $ grep -rPl --include=*.[ch] -w "__attribute__" * | \ grep -vP "^(tools|scripts|include/linux/compiler-gcc.h)" | \ xargs perl -n -i -e 'local $/; while (<>) { s/\b__attribute__\s*\(\s*\(\s*format\s*\(\s*printf\s*,\s*(.+)\s*,\s*(.+)\s*\)\s*\)\s*\)/__printf($1, $2)/g ; print; }' [akpm@linux-foundation.org: revert arch bits] Signed-off-by: Joe Perches <joe@perches.com> Cc: "Kirill A. Shutemov" <kirill@shutemov.name> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
33 lines
917 B
C
33 lines
917 B
C
/* $Id: isdnl1.h,v 2.12.2.3 2004/02/11 13:21:34 keil Exp $
|
|
*
|
|
* Layer 1 defines
|
|
*
|
|
* This software may be used and distributed according to the terms
|
|
* of the GNU General Public License, incorporated herein by reference.
|
|
*
|
|
*/
|
|
|
|
#define D_RCVBUFREADY 0
|
|
#define D_XMTBUFREADY 1
|
|
#define D_L1STATECHANGE 2
|
|
#define D_CLEARBUSY 3
|
|
#define D_RX_MON0 4
|
|
#define D_RX_MON1 5
|
|
#define D_TX_MON0 6
|
|
#define D_TX_MON1 7
|
|
#define E_RCVBUFREADY 8
|
|
|
|
#define B_RCVBUFREADY 0
|
|
#define B_XMTBUFREADY 1
|
|
#define B_ACKPENDING 2
|
|
|
|
__printf(2, 3)
|
|
void debugl1(struct IsdnCardState *cs, char *fmt, ...);
|
|
void DChannel_proc_xmt(struct IsdnCardState *cs);
|
|
void DChannel_proc_rcv(struct IsdnCardState *cs);
|
|
void l1_msg(struct IsdnCardState *cs, int pr, void *arg);
|
|
void l1_msg_b(struct PStack *st, int pr, void *arg);
|
|
void Logl2Frame(struct IsdnCardState *cs, struct sk_buff *skb, char *buf,
|
|
int dir);
|
|
void BChannel_bh(struct work_struct *work);
|