#include #include "screen.h" WINDOW *screen_init(bool israw) { WINDOW *screen = initscr(); if (israw) raw(); noecho(); cbreak(); nodelay(screen, TRUE); keypad(stdscr, TRUE); refresh(); wrefresh(screen); return screen; } void screen_end(void) { endwin(); } t.cgi/linux/net-next.git/atom/?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-02-05 16:11:59 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-05 16:11:59 -0500
commitbd092ad1463ca0990581fa992e12a9b0ed295d25 (patch)
tree393a469e499e95a0fbc8eb22d6f1707bbb7053cb
parent3976001c9db0354a0bcbd77e324fdf1bc04e110f (diff)
parent02c1602ee7b3e3d062c3eacd374d6a6e3a2ebb73 (diff)
Merge branch 'remove-__napi_complete_done'
Eric Dumazet says: ==================== net: get rid of __napi_complete() This patch series removes __napi_complete() calls, in an effort to make NAPI API simpler and generalize GRO and napi_complete_done() ==================== Signed-off-by: David S. Miller <davem@davemloft.net>