aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/sys.h
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-04-03 10:47:12 +0200
committerBjörn Gustavsson <[email protected]>2010-04-30 06:16:01 +0200
commit8ebf6ffa5da382dee33fd062785056986bdcf6f2 (patch)
tree8e1551a39d34eace1f9ea24171728689348d2629 /erts/emulator/beam/sys.h
parentccc18513ab58762d2ba857ff88b22f6633afa4af (diff)
downloadotp-8ebf6ffa5da382dee33fd062785056986bdcf6f2.tar.gz
otp-8ebf6ffa5da382dee33fd062785056986bdcf6f2.tar.bz2
otp-8ebf6ffa5da382dee33fd062785056986bdcf6f2.zip
emulator: Eliminate #ifdef for sys_tty_reset()
In the erts/emulator/beam sources #ifdef SOME_OPERATING_SYSTEM should be avoided. Instead, call a function implemented in sys/OPERATING_SYSTEM/sys.c.
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r--erts/emulator/beam/sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index a86bcb80dd..1998a2bc9f 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -686,7 +686,7 @@ extern void erl_sys_schedule(int);
#ifdef _OSE_
extern void erl_sys_init_final(void);
#else
-void sys_tty_reset(void);
+void sys_tty_reset(int);
#endif
EXTERN_FUNCTION(int, sys_max_files, (_VOID_));