aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-02-13 11:44:28 +0000
committerRon Yorston <rmy@pobox.com>2020-02-13 11:44:28 +0000
commitf21cc9e93a6132d0471441569adfa86197f79ead (patch)
tree6c9118aa975d254bb8063ec8eb3f8c7717a330d1 /include
parentbeba51059500737e6c004d7a8b0d196278115860 (diff)
downloadbusybox-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.h2
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
516void bs_to_slash(char *p) FAST_FUNC; 516char *bs_to_slash(char *p) FAST_FUNC;
517void slash_to_bs(char *p) FAST_FUNC; 517void slash_to_bs(char *p) FAST_FUNC;
518size_t remove_cr(char *p, size_t len) FAST_FUNC; 518size_t remove_cr(char *p, size_t len) FAST_FUNC;
519 519