]> granicus.if.org Git - strace/commitdiff
Compress blank lines
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 26 Apr 2014 18:10:19 +0000 (18:10 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 30 May 2014 22:10:21 +0000 (22:10 +0000)
Suppress empty lines left after automated xlat conversion.

19 files changed:
bjm.c
desc.c
fanotify.c
file.c
inotify.c
ipc.c
kexec.c
loop.c
mem.c
mtd.c
net.c
process.c
ptp.c
quota.c
reboot.c
signal.c
system.c
term.c
time.c

diff --git a/bjm.c b/bjm.c
index 1c0872ac06c258fb8802868bfb842814282eb79f..9e4d0fe3577689e0af2a6b66425e3b9c2142d012 100644 (file)
--- a/bjm.c
+++ b/bjm.c
@@ -70,7 +70,6 @@ struct module_info
 };
 
 #include "xlat/qm_which.h"
-
 #include "xlat/modflags.h"
 
 int
diff --git a/desc.c b/desc.c
index 9e39a92f03fbe20ac3d72ac812014d3c9ded7ce3..0c9a81755acbd90c00370f0e0df48fabcb284b32 100644 (file)
--- a/desc.c
+++ b/desc.c
 #endif
 
 #include "xlat/fcntlcmds.h"
-
 #include "xlat/fdflags.h"
-
-#ifdef LOCK_SH
-
 #include "xlat/flockcmds.h"
-
-#endif /* LOCK_SH */
-
 #include "xlat/lockfcmds.h"
-
-#ifdef F_NOTIFY
 #include "xlat/notifyflags.h"
-#endif
-
 #include "xlat/perf_event_open_flags.h"
 
 /*
@@ -465,8 +454,8 @@ sys_osf_select(struct tcb *tcp)
 #endif
 
 #include "xlat/epollctls.h"
-
 #include "xlat/epollevents.h"
+#include "xlat/epollflags.h"
 
 /* Not aliased to printargs_ld: we want it to have a distinct address */
 int
@@ -475,8 +464,6 @@ sys_epoll_create(struct tcb *tcp)
        return printargs_ld(tcp);
 }
 
-#include "xlat/epollflags.h"
-
 int
 sys_epoll_create1(struct tcb *tcp)
 {
index 6eeb9bc8681b671f65cb17a1490fd46bd61ba12e..32a366750cb32027c35f04ca89c1e8012fe6724e 100644 (file)
@@ -2,7 +2,6 @@
 #include <linux/fanotify.h>
 
 #include "xlat/fan_classes.h"
-
 #include "xlat/fan_init_flags.h"
 
 int
@@ -27,7 +26,6 @@ sys_fanotify_init(struct tcb *tcp)
 }
 
 #include "xlat/fan_mark_flags.h"
-
 #include "xlat/fan_event_flags.h"
 
 int
diff --git a/file.c b/file.c
index 77f3f85a41525e9676195cf61dbc39fc3ed15d81..c32224271012bc0f705a15157431640252eb1313 100644 (file)
--- a/file.c
+++ b/file.c
@@ -223,7 +223,6 @@ struct kernel_dirent {
 #endif
 
 #include "xlat/open_access_modes.h"
-
 #include "xlat/open_mode_flags.h"
 
 #ifndef AT_FDCWD
index 0c451eae1e6b254133883563e4e401fd661848d8..32f6b31194da5f552da8c1b53be6ebed7801a90b 100644 (file)
--- a/inotify.c
+++ b/inotify.c
@@ -3,7 +3,6 @@
 #include <linux/inotify.h>
 
 #include "xlat/inotify_flags.h"
-
 #include "xlat/inotify_init_flags.h"
 
 int
diff --git a/ipc.c b/ipc.c
index b863ecf7b0488788835d67f2723c2bc4dd1e625a..e04a6189c1c227e55d885af01d2db1a0aa5ab2f3 100644 (file)
--- a/ipc.c
+++ b/ipc.c
 extern void printsigevent(struct tcb *tcp, long arg);
 
 #include "xlat/msgctl_flags.h"
-
 #include "xlat/semctl_flags.h"
-
 #include "xlat/shmctl_flags.h"
-
 #include "xlat/resource_flags.h"
-
 #include "xlat/shm_resource_flags.h"
-
 #include "xlat/shm_flags.h"
-
 #include "xlat/ipc_msg_flags.h"
-
 #include "xlat/semop_flags.h"
 
 int sys_msgget(struct tcb *tcp)
diff --git a/kexec.c b/kexec.c
index f96c2dd1dcb59b3df55e7e88fbe88736226843f5..f95bea2dda2087b8077d37ddcd6767f5c3b8364f 100644 (file)
--- a/kexec.c
+++ b/kexec.c
@@ -2,7 +2,6 @@
 #include <linux/kexec.h>
 
 #include "xlat/kexec_arch_values.h"
-
 #include "xlat/kexec_flags.h"
 
 static void
diff --git a/loop.c b/loop.c
index 20145b0d3a6c7b1bef401f015f6d80e7b559ec7c..2e1634791aa4ddace16043f931633b81d1e645d4 100644 (file)
--- a/loop.c
+++ b/loop.c
@@ -32,7 +32,6 @@
 #include <linux/loop.h>
 
 #include "xlat/loop_flags_options.h"
-
 #include "xlat/loop_crypt_type_options.h"
 
 int loop_ioctl(struct tcb *tcp, long code, long arg)
diff --git a/mem.c b/mem.c
index 31e51f027ae0900c21c30b542190986d853a3639..6ecd363c82ad8fdc5bdb16371a1aee5b35e944d4 100644 (file)
--- a/mem.c
+++ b/mem.c
@@ -54,7 +54,6 @@ sys_brk(struct tcb *tcp)
 }
 
 #include "xlat/mmap_prot.h"
-
 #include "xlat/mmap_flags.h"
 
 static int
@@ -268,7 +267,6 @@ sys_msync(struct tcb *tcp)
 #ifdef MC_SYNC
 
 #include "xlat/mctl_funcs.h"
-
 #include "xlat/mctl_lockas.h"
 
 int
@@ -374,11 +372,8 @@ sys_remap_file_pages(struct tcb *tcp)
 #define MPOL_MF_MOVE_ALL (1<<2)
 
 #include "xlat/policies.h"
-
 #include "xlat/mbindflags.h"
-
 #include "xlat/mempolicyflags.h"
-
 #include "xlat/move_pages_flags.h"
 
 static void
diff --git a/mtd.c b/mtd.c
index 5d3f7791c27db190415373b979dce5f1427763da..8ba658b5ca3df7b7b3c8599055264eef766ecea3 100644 (file)
--- a/mtd.c
+++ b/mtd.c
 #endif
 
 #include "xlat/mtd_mode_options.h"
-
 #include "xlat/mtd_type_options.h"
-
 #include "xlat/mtd_flags_options.h"
-
 #include "xlat/mtd_otp_options.h"
-
 #include "xlat/mtd_nandecc_options.h"
 
 int mtd_ioctl(struct tcb *tcp, long code, long arg)
@@ -254,7 +250,6 @@ int mtd_ioctl(struct tcb *tcp, long code, long arg)
 }
 
 #include "xlat/ubi_volume_types.h"
-
 #include "xlat/ubi_volume_props.h"
 
 int ubi_ioctl(struct tcb *tcp, long code, long arg)
diff --git a/net.c b/net.c
index ab33ab4e423ab861560c6530876a39b0b7b7aa32..08341adcf75e45968e101f3687ca1e997c9ee19b 100644 (file)
--- a/net.c
+++ b/net.c
 #endif
 
 #include "xlat/msg_flags.h"
-
 #include "xlat/sockoptions.h"
 
 #if !defined(SOL_IP) && defined(IPPROTO_IP)
index 59424a849b55410f16d4f39d09f7e433d834af61..a880f9e36138f1f2943a7c6c043dfb09a6f170f7 100644 (file)
--- a/process.c
+++ b/process.c
@@ -995,11 +995,7 @@ sys_uname(struct tcb *tcp)
 }
 
 #include "xlat/ptrace_cmds.h"
-
-#ifdef PTRACE_SETOPTIONS
 #include "xlat/ptrace_setoptions_flags.h"
-#endif /* PTRACE_SETOPTIONS */
-
 #include "xlat/nt_descriptor_types.h"
 
 #define uoff(member)   offsetof(struct user, member)
diff --git a/ptp.c b/ptp.c
index 64e9905e188597b773639c667ada8c751a6a4cc7..1d9cf247ca91f7f527fb31cad6abd00e8d69749b 100644 (file)
--- a/ptp.c
+++ b/ptp.c
@@ -4,7 +4,6 @@
 
 #include "xlat/ptp_flags_options.h"
 
-
 int ptp_ioctl(struct tcb *tcp, long code, long arg)
 {
        if (!verbose(tcp))
diff --git a/quota.c b/quota.c
index 7f2a3a6cf2e540f841cd4d034ec9738624a4d5a2..f9a1bc57cac31af9cb63e14df02ec24698d8adeb 100644 (file)
--- a/quota.c
+++ b/quota.c
@@ -99,7 +99,6 @@
 #define XFS_GROUP_QUOTA                (1<<2)  /* group quota type */
 
 #include "xlat/xfs_quota_flags.h"
-
 #include "xlat/xfs_dqblk_flags.h"
 
 /*
index ab1160baaa4744260db3c3d12dfa06b3b147b5af..397a1269d10aa034b3d3114a314137f31be6b9e5 100644 (file)
--- a/reboot.c
+++ b/reboot.c
@@ -2,9 +2,7 @@
 #include <linux/reboot.h>
 
 #include "xlat/bootflags1.h"
-
 #include "xlat/bootflags2.h"
-
 #include "xlat/bootflags3.h"
 
 int
index b11dc6a5c9e46f86582b2732511a374073352453..f013e0a392c4eb89ea641596f7eda30ba3d2232a 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -101,7 +101,6 @@ struct sigcontext {
 #endif
 
 #include "xlat/sigact_flags.h"
-
 #include "xlat/sigprocmaskcmds.h"
 
 #endif /* HAVE_SIGACTION */
@@ -328,17 +327,11 @@ print_sigset_addr_len(struct tcb *tcp, long addr, long len)
 #endif
 
 #include "xlat/siginfo_codes.h"
-
 #include "xlat/sigill_codes.h"
-
 #include "xlat/sigfpe_codes.h"
-
 #include "xlat/sigtrap_codes.h"
-
 #include "xlat/sigchld_codes.h"
-
 #include "xlat/sigpoll_codes.h"
-
 #include "xlat/sigprof_codes.h"
 
 #ifdef SIGEMT
@@ -346,7 +339,6 @@ print_sigset_addr_len(struct tcb *tcp, long addr, long len)
 #endif
 
 #include "xlat/sigsegv_codes.h"
-
 #include "xlat/sigbus_codes.h"
 
 #ifndef SYS_SECCOMP
index 20a9de2155cf04daad93d00b8edcd96a56406efa..afffa0c8dff665d8a1be54da2d8a2740a5b5de6c 100644 (file)
--- a/system.c
+++ b/system.c
@@ -414,25 +414,15 @@ int sys_capset(struct tcb *tcp)
 # define CTL_PROC 4
 # define CTL_CPU 10            /* older headers lack */
 #include "xlat/sysctl_root.h"
-
 #include "xlat/sysctl_kern.h"
-
 #include "xlat/sysctl_vm.h"
-
 #include "xlat/sysctl_net.h"
-
 #include "xlat/sysctl_net_core.h"
-
 #include "xlat/sysctl_net_unix.h"
-
 #include "xlat/sysctl_net_ipv4.h"
-
 #include "xlat/sysctl_net_ipv4_route.h"
-
 #include "xlat/sysctl_net_ipv4_conf.h"
-
 #include "xlat/sysctl_net_ipv6.h"
-
 #include "xlat/sysctl_net_ipv6_route.h"
 
 int
diff --git a/term.c b/term.c
index d8f793b35c49a32b6dc2799b7a23a55c0950c141..d1c9b6530a6d31d61d66a30214ede29f288a5979 100644 (file)
--- a/term.c
+++ b/term.c
@@ -42,7 +42,6 @@
 #endif
 
 #include "xlat/baud_options.h"
-
 #include "xlat/modem_flags.h"
 
 int term_ioctl(struct tcb *tcp, long code, long arg)
diff --git a/time.c b/time.c
index f4383c47294616374d72f8fd1f439626b517e423..1ad90d9ad7ddba193583aa28356f5ce1408d168d 100644 (file)
--- a/time.c
+++ b/time.c
@@ -398,9 +398,7 @@ sys_osf_setitimer(struct tcb *tcp)
 #endif
 
 #include "xlat/adjtimex_modes.h"
-
 #include "xlat/adjtimex_status.h"
-
 #include "xlat/adjtimex_state.h"
 
 #if SUPPORTED_PERSONALITIES > 1
@@ -522,17 +520,14 @@ sys_adjtimex(struct tcb *tcp)
 }
 
 #include "xlat/clockflags.h"
-
 #include "xlat/clocknames.h"
 
-#ifdef CLOCKID_TO_FD
-#include "xlat/cpuclocknames.h"
-#endif
-
 static void
 printclockname(int clockid)
 {
 #ifdef CLOCKID_TO_FD
+# include "xlat/cpuclocknames.h"
+
        if (clockid < 0) {
                if ((clockid & CLOCKFD_MASK) == CLOCKFD)
                        tprintf("FD_TO_CLOCKID(%d)", CLOCKID_TO_FD(clockid));