mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Disable strstr() if ACPICA is compiled in userland.
Reviewed by: msmith
This commit is contained in:
parent
95eaffae1b
commit
673f959b2b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70902
@ -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__ */
|
||||
|
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user