Skip to content
Snippets Groups Projects
Commit a83aef47 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Fix some problems in the previous commits: Forgot to update sigset() after...

Fix some problems in the previous commits:  Forgot to update sigset() after change to prototype.  Also there was a stray semicolon in the change signal().
parent f6f740a5
No related branches found
No related tags found
No related merge requests found
/****************************************************************************
* libc/signal/sig_set.c
*
* Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2015-2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
......@@ -109,7 +109,7 @@
*
****************************************************************************/
CODE void (*sigset(int signo, CODE void (*func)(int signo)))(int signo)
_sa_handler_t sigset(int signo, _sa_handler_t func)
{
_sa_handler_t disposition;
sigset_t set;
......
......@@ -70,7 +70,7 @@
*
****************************************************************************/
_sa_sighandler_t signal(int signo, _sa_handler_t func);
_sa_handler_t signal(int signo, _sa_handler_t func)
{
struct sigaction act;
struct sigaction oact;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment