summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-02-25 15:41:21 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-02-25 15:41:21 +0000
commite83e157021177930b64ec4aa4983bbe13b39e91b (patch)
tree7fc884e3b06555207951e6413e5c5770a76ddbbf /linux
parentee245d8ca36ce90212db3684528c9ed68f92d643 (diff)
downloadstrace-e83e157021177930b64ec4aa4983bbe13b39e91b.tar.gz
strace-e83e157021177930b64ec4aa4983bbe13b39e91b.tar.bz2
strace-e83e157021177930b64ec4aa4983bbe13b39e91b.tar.xz
Compress blank lines
Suppress repeated empty lines left after automated code removal. This change was made by filtering every source code file through "cat -s".
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/ioctlent.sh2
-rw-r--r--linux/ioctlsort.c2
-rw-r--r--linux/microblaze/syscallent.h3
-rw-r--r--linux/x86_64/gentab.pl2
4 files changed, 0 insertions, 9 deletions
diff --git a/linux/ioctlent.sh b/linux/ioctlent.sh
index 65b005d..985deff 100755
--- a/linux/ioctlent.sh
+++ b/linux/ioctlent.sh
@@ -57,7 +57,6 @@ s/^\(.*\):[[:space:]]*#[[:space:]]*define[[:space:]]*\([A-Z0-9_]*\)[[:space:]]*\
>> ioctls.h
}
-
> ioctls.h
lookup_ioctls 03 linux/hdreg.h
@@ -102,7 +101,6 @@ regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\
# Sort and drop dups?
# sort -u <ioctls.h >ioctls1.h && mv ioctls1.h ioctls.h
-
> ioctldefs.h
# Collect potential ioctl names. ('bases' is a bad name. Sigh)
diff --git a/linux/ioctlsort.c b/linux/ioctlsort.c
index 9b18d29..dab30f1 100644
--- a/linux/ioctlsort.c
+++ b/linux/ioctlsort.c
@@ -22,7 +22,6 @@ struct ioctlent ioctls[] = {
int nioctls = sizeof(ioctls) / sizeof(ioctls[0]);
-
int compare(const void* a, const void* b) {
unsigned long code1 = ((struct ioctlent *) a)->code;
unsigned long code2 = ((struct ioctlent *) b)->code;
@@ -31,7 +30,6 @@ int compare(const void* a, const void* b) {
return (code1 > code2) ? 1 : (code1 < code2) ? -1 : strcmp(name1, name2);
}
-
int main(int argc, char** argv) {
int i;
diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h
index 36ca381..04ccdde 100644
--- a/linux/microblaze/syscallent.h
+++ b/linux/microblaze/syscallent.h
@@ -332,9 +332,6 @@
{ 5, TD|TF, sys_linkat, "linkat" }, /* 303 */
{ 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 304 */
{ 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 305 */
-
-
-
{ 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 306 */
{ 3, TD|TF, sys_faccessat, "faccessat" }, /* 307 */
{ 6, TD, sys_pselect6, "pselect6" }, /* 308 */
diff --git a/linux/x86_64/gentab.pl b/linux/x86_64/gentab.pl
index 2858e07..52f7aa9 100644
--- a/linux/x86_64/gentab.pl
+++ b/linux/x86_64/gentab.pl
@@ -45,8 +45,6 @@ while (<F>) {
open(SL, ">syscallnum.h") || die "cannot create syscallnum.h\n";
-
-
open(S,$ARGV[1]) || die "cannot open syscall file $ARGV[1]\n";
while (<S>) {
$name = "";