aboutsummaryrefslogtreecommitdiffhomepage
path: root/input_common.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 16:30:30 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 16:30:30 -0800
commit9992b8eb0e3366ff8a3948aa0b66a19c3c12c737 (patch)
tree6dda0fef85812016fbba9ea067c9d586092b506d /input_common.h
parentbab69f26724028d16054a3daf5c78aad7c67bb2d (diff)
Apply new indentation, brace, and whitespace style
Diffstat (limited to 'input_common.h')
-rw-r--r--input_common.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/input_common.h b/input_common.h
index 9b5e0e63..7af52761 100644
--- a/input_common.h
+++ b/input_common.h
@@ -15,20 +15,20 @@ Header file for the low level input library
enum
{
- /**
- R_NULL is sometimes returned by the input when a character was
- requested but none could be delivered, or when an exception
- happened.
- */
- R_NULL = INPUT_COMMON_RESERVED,
- R_EOF
+ /**
+ R_NULL is sometimes returned by the input when a character was
+ requested but none could be delivered, or when an exception
+ happened.
+ */
+ R_NULL = INPUT_COMMON_RESERVED,
+ R_EOF
}
- ;
+;
/**
Init the library
*/
-void input_common_init( int (*ih)() );
+void input_common_init(int (*ih)());
/* Sets a callback to be invoked every time a byte is read */
void input_common_set_poll_callback(void (*handler)(void));
@@ -47,13 +47,13 @@ void input_common_destroy();
WAIT_ON_ESCAPE milliseconds for a character to be available for
reading before returning with the value WEOF.
*/
-wchar_t input_common_readch( int timed );
+wchar_t input_common_readch(int timed);
/**
Push a character or a readline function onto the stack of unread
characters that input_readch will return before actually reading from fd
0.
*/
-void input_common_unreadch( wint_t ch );
+void input_common_unreadch(wint_t ch);
#endif