Signal handlers are supposed to take an int parameter.
Approved by: das (mentor)
This commit is contained in:
parent
b9b627bcfb
commit
484004ba16
@ -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