Commit 071e8839 authored by Simon Marlow's avatar Simon Marlow

move termios prototypes into a public header

parent 50c54df1
......@@ -176,6 +176,7 @@ void _assertFail(const char *filename, unsigned int linenum)
#include "rts/Ticky.h"
#include "rts/Timer.h"
#include "rts/Stable.h"
#include "rts/TTY.h"
/* Misc stuff without a home */
DLL_IMPORT_RTS extern char **prog_argv; /* so we can get at these from Haskell */
......
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 2009
*
* POSIX TTY-related functionality
*
* -------------------------------------------------------------------------- */
#ifndef RTS_TTY_H
#define RTS_TTY_H
void* __hscore_get_saved_termios(int fd);
void __hscore_set_saved_termios(int fd, void* ts);
#endif /* RTS_TTY_H */
......@@ -39,10 +39,6 @@ char *ullong_format_string(ullong, char *, rtsBool);
void heapCheckFail( void );
#endif
// XXX shouldn't be here
void* __hscore_get_saved_termios(int fd);
void __hscore_set_saved_termios(int fd, void* ts);
void printRtsInfo(void);
HsInt genSymZh(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment