[BACK]Return to printf.h CVS log [TXT][DIR] Up to [local] / funnyos / libkern

File: [local] / funnyos / libkern / printf.h (download)

Revision 1.1, Tue Oct 16 08:41:04 2007 UTC (16 years, 6 months ago) by init
Branch point for: MAIN

Initial revision

/*
 * $Id: printf.h,v 1.1 2007/10/16 08:41:04 init Exp $
 */
#ifndef _LIBKERN_PRINTF_H
#define _LIBKERN_PRINTF_H

void 	printf(const char *fmt, ...);
void 	kpanic(const char *fmt, ...);

#define panic(x...) do { printf("%s: ", __func__); kpanic(x); } while (0)

#endif /* not _LIBKERN_PRINTF_H */