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