[openssh-commits] [openssh] 01/01: cleaner way fix dispatch.h portion of commit a88dd1da119052870bb2654c1a32c51971eade16 (some systems have sig_atomic_t in signal.h, some in sys/signal.h) Sounds good to me djm@

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Feb 24 17:13:54 AEDT 2015


This is an automated email from the git hooks/post-receive script.

tim pushed a commit to branch master
in repository openssh.

commit 910209203d0cd60c5083901cbcc0b7b44d9f48d2
Author: Tim Rice <tim at multitalents.net>
Date:   Mon Feb 23 22:06:56 2015 -0800

    cleaner way fix dispatch.h portion of commit
    a88dd1da119052870bb2654c1a32c51971eade16
    (some systems have sig_atomic_t in signal.h, some in sys/signal.h)
    Sounds good to me djm@
---
 dispatch.h | 2 --
 packet.h   | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/dispatch.h b/dispatch.h
index 2bcdc91..cd51dbc 100644
--- a/dispatch.h
+++ b/dispatch.h
@@ -27,8 +27,6 @@
 #ifndef DISPATCH_H
 #define DISPATCH_H
 
-#include <signal.h> /* for sig_atomic_t */
-
 #define DISPATCH_MAX	255
 
 enum {
diff --git a/packet.h b/packet.h
index b0a1531..7b06544 100644
--- a/packet.h
+++ b/packet.h
@@ -34,7 +34,7 @@
 # define EC_POINT	void
 #endif /* WITH_OPENSSL */
 
-#include <sys/signal.h>
+#include <signal.h>
 #include "openbsd-compat/sys-queue.h"
 
 struct kex;

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list