diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2017-01-11 23:48:41 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2017-01-11 23:48:41 +0000 |
commit | 791e45ec4f92772adf7fa5579078264313f261a8 (patch) | |
tree | 40a82e1c89f0928cfcfa624ad5bffae1ca320561 /linux/powerpc64 | |
parent | 7c3e4edd3b3f50843409eb2c7b660ca45d6ba6ef (diff) | |
download | strace-791e45ec4f92772adf7fa5579078264313f261a8.tar.gz |
Remove redundant commas at the end of structure initializers
Automatically remove redundant commas using the following
sed expression:
git grep -El ',[[:space:]]+}' |xargs sed -ri 's/,([[:space:]]+\})/\1/'
* linux/32/syscallent.h: Remove redundant commas at the end of structure
initializers.
* linux/64/syscallent.h: Likewise.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/microblaze/userent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* tests/kexec_file_load.c: Likewise.
Reported-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Diffstat (limited to 'linux/powerpc64')
-rw-r--r-- | linux/powerpc64/syscallent.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index ba22c3c10..54c4c7670 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -379,14 +379,14 @@ [355] = { 3, 0, SEN(sched_setattr), "sched_setattr" }, [356] = { 4, 0, SEN(sched_getattr), "sched_getattr" }, [357] = { 5, TD|TF, SEN(renameat2), "renameat2" }, -[358] = { 3, 0, SEN(seccomp), "seccomp", }, -[359] = { 3, 0, SEN(getrandom), "getrandom", }, -[360] = { 2, TD, SEN(memfd_create), "memfd_create", }, -[361] = { 3, TD, SEN(bpf), "bpf", }, -[362] = { 5, TD|TF|TP|SE|SI, SEN(execveat), "execveat", }, +[358] = { 3, 0, SEN(seccomp), "seccomp" }, +[359] = { 3, 0, SEN(getrandom), "getrandom" }, +[360] = { 2, TD, SEN(memfd_create), "memfd_create" }, +[361] = { 3, TD, SEN(bpf), "bpf" }, +[362] = { 5, TD|TF|TP|SE|SI, SEN(execveat), "execveat" }, [363] = { 0, 0, SEN(printargs), "switch_endian" }, -[364] = { 1, TD, SEN(userfaultfd), "userfaultfd", }, -[365] = { 2, 0, SEN(membarrier), "membarrier", }, +[364] = { 1, TD, SEN(userfaultfd), "userfaultfd" }, +[365] = { 2, 0, SEN(membarrier), "membarrier" }, [366] = { 3, TI, SEN(semop), "semop" }, [367] = { 3, TI, SEN(semget), "semget" }, [368] = { 4, TI, SEN(semctl), "semctl" }, |