about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/signals.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/signals.h b/src/include/signals.h
index a068ffbf..1a2a9b39 100644
--- a/src/include/signals.h
+++ b/src/include/signals.h
@@ -14,27 +14,27 @@ typedef struct x64_sigaction_s {
 	void (*sa_restorer)(void);
 } x64_sigaction_t;
 
-#ifdef ANDROID
-typedef struct android_sigaction_s {
-	int sa_flags;
+typedef struct x64_sigaction_restorer_s {
 	union {
 	  sighandler_t _sa_handler;
 	  void (*_sa_sigaction)(int, siginfo_t *, void *);
 	} _u;
-	sigset_t sa_mask;
+	uint32_t sa_flags;
 	void (*sa_restorer)(void);
-} android_sigaction_t;
-#endif
+	sigset_t sa_mask;
+} x64_sigaction_restorer_t;
 
-typedef struct x64_sigaction_restorer_s {
+#ifdef ANDROID
+typedef struct android_sigaction_s {
+	int sa_flags;
 	union {
 	  sighandler_t _sa_handler;
 	  void (*_sa_sigaction)(int, siginfo_t *, void *);
 	} _u;
-	uint32_t sa_flags;
-	void (*sa_restorer)(void);
 	sigset_t sa_mask;
-} x64_sigaction_restorer_t;
+	void (*sa_restorer)(void);
+} android_sigaction_t;
+#endif
 
 #ifdef BOX32
 typedef struct __attribute__((packed)) i386_sigaction_s {