mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
Merge pull request #32318 from YHNdnzj/skip-leading-char
journal-gatewayd: use skip_leading_chars
This commit is contained in:
@@ -133,7 +133,7 @@ static inline char *truncate_nl(char *s) {
|
||||
return truncate_nl_full(s, NULL);
|
||||
}
|
||||
|
||||
static inline char *skip_leading_chars(const char *s, const char *bad) {
|
||||
static inline char* skip_leading_chars(const char *s, const char *bad) {
|
||||
if (!s)
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user