Quantcast

[xen master] tools: Use POSIX signal.h instead of sys/signal.h

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[xen master] tools: Use POSIX signal.h instead of sys/signal.h

patchbot
commit b4cd5173183fbc118e2dc2a0d2e0d5038daf4fb5
Author:     Alistair Francis <[hidden email]>
AuthorDate: Mon Apr 17 14:33:11 2017 -0700
Commit:     Wei Liu <[hidden email]>
CommitDate: Tue Apr 18 17:04:46 2017 +0100

    tools: Use POSIX signal.h instead of sys/signal.h
   
    The POSIX spec specifies to use:
        #include <signal.h>
    instead of:
        #include <sys/signal.h>
    as seen here:
       http://pubs.opengroup.org/onlinepubs/009695399/functions/signal.html
   
    This removes the warning:
        #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
    when building with the musl C-library.
   
    Signed-off-by: Alistair Francis <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
    Acked-by: Razvan Cojocaru <[hidden email]>
    Acked-by: Ian Jackson <[hidden email]>
    Release-acked-by: Julien Grall <[hidden email]>
---
 tools/blktap2/drivers/tapdisk-server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/blktap2/drivers/tapdisk-server.c b/tools/blktap2/drivers/tapdisk-server.c
index eecde3d..71315bb 100644
--- a/tools/blktap2/drivers/tapdisk-server.c
+++ b/tools/blktap2/drivers/tapdisk-server.c
@@ -30,7 +30,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
-#include <sys/signal.h>
+#include <signal.h>
 
 #include "tapdisk-utils.h"
 #include "tapdisk-server.h"
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog
Loading...