Share a single str_starts() implementation
No need to define this as a static function in multiple files. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
23c130e9b7
commit
e55df99ee6
6 changed files with 8 additions and 24 deletions
|
@ -550,6 +550,8 @@ size_t utf8_unescape(const char *inp, size_t in_size,
|
|||
char *outp, size_t out_size);
|
||||
int is_ctrl_char(char c);
|
||||
|
||||
int str_starts(const char *str, const char *start);
|
||||
|
||||
|
||||
/*
|
||||
* gcc 4.4 ends up generating strict-aliasing warnings about some very common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue