aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-09-27 10:08:12 +0100
committerRon Yorston <rmy@pobox.com>2017-09-27 10:11:19 +0100
commitd9383e984da8de72e61e5094a3cf6404c5707ddc (patch)
treedd42825854fc42aea40d4f7a95548d53721d1733 /include
parent166b3e4e82799f87d3b002c7177891111eff079e (diff)
parent0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5 (diff)
downloadbusybox-w32-d9383e984da8de72e61e5094a3cf6404c5707ddc.tar.gz
busybox-w32-d9383e984da8de72e61e5094a3cf6404c5707ddc.tar.bz2
busybox-w32-d9383e984da8de72e61e5094a3cf6404c5707ddc.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 9ce89636a..136bc33f5 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1242,7 +1242,7 @@ uint32_t getopt32long(char **argv, const char *optstring, const char *longopts,
1242 * By ~2008, OpenBSD 3.4 was changed to survive glibc-like optind = 0 1242 * By ~2008, OpenBSD 3.4 was changed to survive glibc-like optind = 0
1243 * (to interpret it as if optreset was set). 1243 * (to interpret it as if optreset was set).
1244 */ 1244 */
1245#if defined(__GLIBC__) || ENABLE_PLATFORM_MINGW32 1245#if 1 /*def __GLIBC__*/
1246#define GETOPT_RESET() (optind = 0) 1246#define GETOPT_RESET() (optind = 0)
1247#else /* BSD style */ 1247#else /* BSD style */
1248#define GETOPT_RESET() (optind = 1) 1248#define GETOPT_RESET() (optind = 1)
@@ -1612,6 +1612,7 @@ int tcsetattr_stdin_TCSANOW(const struct termios *tp) FAST_FUNC;
1612#define TERMIOS_CLEAR_ISIG (1 << 0) 1612#define TERMIOS_CLEAR_ISIG (1 << 0)
1613#define TERMIOS_RAW_CRNL (1 << 1) 1613#define TERMIOS_RAW_CRNL (1 << 1)
1614#define TERMIOS_RAW_INPUT (1 << 2) 1614#define TERMIOS_RAW_INPUT (1 << 2)
1615int get_termios_and_make_raw(int fd, struct termios *newterm, struct termios *oldterm, int flags) FAST_FUNC;
1615int set_termios_to_raw(int fd, struct termios *oldterm, int flags) FAST_FUNC; 1616int set_termios_to_raw(int fd, struct termios *oldterm, int flags) FAST_FUNC;
1616 1617
1617/* NB: "unsigned request" is crucial! "int request" will break some arches! */ 1618/* NB: "unsigned request" is crucial! "int request" will break some arches! */