diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-01-31 19:38:36 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-02-17 14:15:43 -0500 |
commit | d15b0107d6f0f10e259a8937f7695e2130d5e9e4 (patch) | |
tree | 2d0416c5a71d7d822cb16c2fe7d60ed604a5a739 /src/string.h | |
parent | 2a3ed1eb9583625b318bbb26458926394b80901e (diff) | |
download | seabios-hppa-d15b0107d6f0f10e259a8937f7695e2130d5e9e4.zip seabios-hppa-d15b0107d6f0f10e259a8937f7695e2130d5e9e4.tar.gz seabios-hppa-d15b0107d6f0f10e259a8937f7695e2130d5e9e4.tar.bz2 |
Enhance nullTrailingSpace() so that it can also skip leading spaces.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/string.h')
-rw-r--r-- | src/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.h b/src/string.h index 7c4c5ee..ca751a4 100644 --- a/src/string.h +++ b/src/string.h @@ -25,6 +25,6 @@ void iomemcpy(void *d, const void *s, u32 len); void *memmove(void *d, const void *s, size_t len); char *strtcpy(char *dest, const char *src, size_t len); char *strchr(const char *s, int c); -void nullTrailingSpace(char *buf); +char *nullTrailingSpace(char *buf); #endif // string.h |