diff options
Diffstat (limited to 'evsignal-internal.h')
-rw-r--r-- | evsignal-internal.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/evsignal-internal.h b/evsignal-internal.h index 5cff03b..426f4a4 100644 --- a/evsignal-internal.h +++ b/evsignal-internal.h @@ -24,8 +24,8 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef EVSIGNAL_INTERNAL_H_INCLUDED_ -#define EVSIGNAL_INTERNAL_H_INCLUDED_ +#ifndef _EVSIGNAL_H_ +#define _EVSIGNAL_H_ #ifndef evutil_socket_t #include "event2/util.h" @@ -48,7 +48,7 @@ struct evsig_info { /* Array of previous signal handler objects before Libevent started * messing with them. Used to restore old signal handlers. */ -#ifdef EVENT__HAVE_SIGACTION +#ifdef _EVENT_HAVE_SIGACTION struct sigaction **sh_old; #else ev_sighandler_t **sh_old; @@ -56,10 +56,9 @@ struct evsig_info { /* Size of sh_old. */ int sh_old_max; }; -int evsig_init_(struct event_base *); -void evsig_dealloc_(struct event_base *); +int evsig_init(struct event_base *); +void evsig_dealloc(struct event_base *); -void evsig_set_base_(struct event_base *base); -void evsig_free_globals_(void); +void evsig_set_base(struct event_base *base); -#endif /* EVSIGNAL_INTERNAL_H_INCLUDED_ */ +#endif /* _EVSIGNAL_H_ */ |