diff options
author | Ron Yorston <rmy@pobox.com> | 2020-02-13 11:44:28 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-02-13 11:44:28 +0000 |
commit | f21cc9e93a6132d0471441569adfa86197f79ead (patch) | |
tree | 6c9118aa975d254bb8063ec8eb3f8c7717a330d1 /include | |
parent | beba51059500737e6c004d7a8b0d196278115860 (diff) | |
download | busybox-w32-f21cc9e93a6132d0471441569adfa86197f79ead.tar.gz busybox-w32-f21cc9e93a6132d0471441569adfa86197f79ead.tar.bz2 busybox-w32-f21cc9e93a6132d0471441569adfa86197f79ead.zip |
win32: code shrink
Have bs_to_slash() return a pointer to its argument. This allows
some calls to be chained, saving 32 bytes.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 2a543160a..4aca7e884 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -513,7 +513,7 @@ static inline char *auto_win32_extension(const char *p) | |||
513 | return s ? auto_string(s) : NULL; | 513 | return s ? auto_string(s) : NULL; |
514 | } | 514 | } |
515 | 515 | ||
516 | void bs_to_slash(char *p) FAST_FUNC; | 516 | char *bs_to_slash(char *p) FAST_FUNC; |
517 | void slash_to_bs(char *p) FAST_FUNC; | 517 | void slash_to_bs(char *p) FAST_FUNC; |
518 | size_t remove_cr(char *p, size_t len) FAST_FUNC; | 518 | size_t remove_cr(char *p, size_t len) FAST_FUNC; |
519 | 519 | ||