Signal handlers are supposed to take an int parameter.
Approved by: das (mentor)
This commit is contained in:
parent
80a3e78252
commit
3a40eb39cf
@ -105,7 +105,7 @@ struct vt_mode smode;
|
||||
}
|
||||
|
||||
static void
|
||||
VGLAbort()
|
||||
VGLAbort(int arg __unused)
|
||||
{
|
||||
VGLAbortPending = 1;
|
||||
signal(SIGINT, SIG_IGN);
|
||||
@ -116,7 +116,7 @@ VGLAbort()
|
||||
}
|
||||
|
||||
static void
|
||||
VGLSwitch()
|
||||
VGLSwitch(int arg __unused)
|
||||
{
|
||||
if (!VGLOnDisplay)
|
||||
VGLOnDisplay = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user