1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Disable strstr() if ACPICA is compiled in userland.

Reviewed by:	msmith
This commit is contained in:
Mitsuru IWASAKI 2001-01-10 19:28:03 +00:00
parent 95eaffae1b
commit 673f959b2b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70902
2 changed files with 4 additions and 0 deletions

View File

@ -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__ */

View File

@ -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__ */