diff options
author | Matt Jacob <mjacob@FreeBSD.org> | 2005-05-11 00:22:17 +0000 |
---|---|---|
committer | Matt Jacob <mjacob@FreeBSD.org> | 2005-05-11 00:22:17 +0000 |
commit | 547725be5064bc9a27c6ea55d2660304adda8c34 (patch) | |
tree | 735ed26f55388109720ba481bc66c6f615947f1c /sys/dev/isp/ispvar.h | |
parent | 6904c47ab9a78d418f1c7fd67d7dacc90bd14095 (diff) | |
download | src-547725be5064bc9a27c6ea55d2660304adda8c34.tar.gz src-547725be5064bc9a27c6ea55d2660304adda8c34.zip |
Refactor isp_prt declaration so that platform
requirements can stay in platform files.
Notes
Notes:
svn path=/head/; revision=146073
Diffstat (limited to 'sys/dev/isp/ispvar.h')
-rw-r--r-- | sys/dev/isp/ispvar.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h index dc18c7683c43..e71a952cf8fd 100644 --- a/sys/dev/isp/ispvar.h +++ b/sys/dev/isp/ispvar.h @@ -44,9 +44,6 @@ #include <dev/isp/isp_target.h> #include <dev/isp/isp_tpublic.h> #endif -#ifndef _SYS_CDEFS_H_ -#error this file needs sys/cdefs.h as a prerequisite -#endif #endif #ifdef __linux__ #include "ispmbox.h" @@ -762,9 +759,14 @@ int isp_async(struct ispsoftc *, ispasync_t, void *); /* * Platform Dependent Error and Debug Printout + * + * Generally this is: + * + * void isp_prt(struct ispsoftc *, int level, const char *, ...) + * + * but due to compiler differences on different platforms this won't be + * formally done here. Instead, it goes in each platform definition file. */ -void isp_prt(struct ispsoftc *, int level, const char *, ...) - __printflike(3, 4); #define ISP_LOGALL 0x0 /* log always */ #define ISP_LOGCONFIG 0x1 /* log configuration messages */ |