panic takes a printf format too.

This commit is contained in:
christos 2010-12-24 23:12:28 +00:00
parent df0c38f693
commit 62010e9c69

View File

@ -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);