File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ static void uwsgi_pty_init() {
259259
260260}
261261
262- static void uwsgi_pty_winch () {
262+ static void uwsgi_pty_winch (int sig ) {
263263 // 2 uwsgi packets
264264 char uwsgi_pkt [8 ];
265265#ifdef TIOCGWINSZ
@@ -309,7 +309,7 @@ static int uwsgi_pty_client() {
309309 if (upty .uremote ) {
310310 signal (SIGWINCH , uwsgi_pty_winch );
311311 // send current terminal size
312- uwsgi_pty_winch ();
312+ uwsgi_pty_winch (SIGWINCH );
313313 }
314314
315315 upty .queue = event_queue_init ();
Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ void uwsgi_tuntap_router_loop(int id, void *arg) {
409409 }
410410}
411411
412- static void uwsgi_tuntap_router () {
412+ static void uwsgi_tuntap_router (int ( * start )( void * ), char * * argv ) {
413413
414414 if (!utt .routers ) return ;
415415
You can’t perform that action at this time.
0 commit comments