panic takes a printf format too.
This commit is contained in:
parent
df0c38f693
commit
62010e9c69
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: stand.h,v 1.69 2009/03/19 10:20:54 tsutsui Exp $ */
|
||||
/* $NetBSD: stand.h,v 1.70 2010/12/24 23:12:28 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
|
||||
@ -238,7 +238,8 @@ void gets(char *);
|
||||
int getfile(char *prompt, int mode);
|
||||
char *strerror(int);
|
||||
__dead void exit(int);
|
||||
__dead void panic(const char *, ...);
|
||||
__dead void panic(const char *, ...)
|
||||
__attribute__((__format__(__printf__, 1, 2)));
|
||||
__dead void _rtt(void);
|
||||
void *memcpy(void *, const void *, size_t);
|
||||
void *memmove(void *, const void *, size_t);
|
||||
|
Loading…
Reference in New Issue
Block a user