diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 2005-03-02 21:33:29 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 2005-03-02 21:33:29 +0000 |
| commit | a5f50ef9e43b28e15a7e2a2aec73754456619f17 (patch) | |
| tree | 69c98a86a28838e983d8eca9ba158f46450df8c1 /sys/dev/isp | |
| parent | f685f62c9869f2c8181041ae3e3d87a09d2d3fbf (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp')
| -rw-r--r-- | sys/dev/isp/ispvar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h index b5aa8deed4c11..b3e7911dbea2d 100644 --- a/sys/dev/isp/ispvar.h +++ b/sys/dev/isp/ispvar.h @@ -44,6 +44,9 @@ #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" @@ -760,7 +763,7 @@ int isp_async(struct ispsoftc *, ispasync_t, void *); /* * Platform Dependent Error and Debug Printout */ -#if defined(__GNUC__) || defined(__INTEL_COMPILER) +#ifdef __GNUCLIKE_ATTRIBUTE_PRINTF void isp_prt(struct ispsoftc *, int level, const char *, ...) __attribute__((__format__(__printf__,3,4))); #else |
