mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Fix strcmp to match strcmp(3).
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@254 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
e895a471e0
commit
a73a37d820
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ static inline size_t strlen(const char *str)
|
|||
* zero, if s1 equals s2. Returns a value greater than zero, if
|
||||
* s1 is longer than s2.
|
||||
*/
|
||||
static inline int strcmp(const unsigned char *s1, const unsigned char *s2)
|
||||
static inline int strcmp(const char *s1, const char *s2)
|
||||
{
|
||||
unsigned char c1, c2;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue