mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Signal handlers are supposed to take an int parameter.
Approved by: das (mentor)
This commit is contained in:
parent
14e4372584
commit
5e0ddde281
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130245
|
@ -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 a new issue