diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/contrib/dev/acpica/Subsystem/Include/acfreebsd.h | 2 | ||||
-rw-r--r-- | sys/contrib/dev/acpica/acfreebsd.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/contrib/dev/acpica/Subsystem/Include/acfreebsd.h b/sys/contrib/dev/acpica/Subsystem/Include/acfreebsd.h index f60ae88..23ff5ce 100644 --- a/sys/contrib/dev/acpica/Subsystem/Include/acfreebsd.h +++ b/sys/contrib/dev/acpica/Subsystem/Include/acfreebsd.h @@ -173,6 +173,7 @@ strupr(char *str) return(str); } +#ifdef _KERNEL /* Or strstr (used in debugging mode, also move to libkern) */ static __inline char * strstr(char *s, char *find) @@ -192,5 +193,6 @@ strstr(char *s, char *find) } return ((char *)s); } +#endif /* _KERNEL */ #endif /* __ACFREEBSD_H__ */ diff --git a/sys/contrib/dev/acpica/acfreebsd.h b/sys/contrib/dev/acpica/acfreebsd.h index f60ae88..23ff5ce 100644 --- a/sys/contrib/dev/acpica/acfreebsd.h +++ b/sys/contrib/dev/acpica/acfreebsd.h @@ -173,6 +173,7 @@ strupr(char *str) return(str); } +#ifdef _KERNEL /* Or strstr (used in debugging mode, also move to libkern) */ static __inline char * strstr(char *s, char *find) @@ -192,5 +193,6 @@ strstr(char *s, char *find) } return ((char *)s); } +#endif /* _KERNEL */ #endif /* __ACFREEBSD_H__ */ |