Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump adjust whitespace a bit
details: https://anonhg.NetBSD.org/src/rev/6827a4bf67b0
branches: trunk
changeset: 748118:6827a4bf67b0
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Oct 14 17:26:09 2009 +0000
description:
adjust whitespace a bit
diffstat:
sys/rump/librump/makerumpif.sh | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (50 lines):
diff -r 4d27209e71db -r 6827a4bf67b0 sys/rump/librump/makerumpif.sh
--- a/sys/rump/librump/makerumpif.sh Wed Oct 14 17:24:03 2009 +0000
+++ b/sys/rump/librump/makerumpif.sh Wed Oct 14 17:26:09 2009 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: makerumpif.sh,v 1.1 2009/10/14 17:17:00 pooka Exp $
+# $NetBSD: makerumpif.sh,v 1.2 2009/10/14 17:26:09 pooka Exp $
#
# Copyright (c) 2009 Antti Kantee. All rights reserved.
#
@@ -67,9 +67,9 @@
' ${1} | awk -F\| -v rumptop=${RUMPTOP} '
function fileheaders(file, srcstr)
{
- printf("/*\t$NetBSD: makerumpif.sh,v 1.1 2009/10/14 17:17:00 pooka Exp $\t*/\n\n") > file
+ printf("/*\t$NetBSD: makerumpif.sh,v 1.2 2009/10/14 17:26:09 pooka Exp $\t*/\n\n") > file
printf("/*\n * Automatically generated. DO NOT EDIT.\n") > file
- genstr = "$NetBSD: makerumpif.sh,v 1.1 2009/10/14 17:17:00 pooka Exp $"
+ genstr = "$NetBSD: makerumpif.sh,v 1.2 2009/10/14 17:26:09 pooka Exp $"
gsub("\\$", "", genstr)
printf(" * from: %s\n", srcstr) > file
printf(" * by: %s\n", genstr) > file
@@ -139,7 +139,7 @@
printf("\n#include <rump/rump.h>\n") > gencalls
printf("#include <rump/%s>\n\n", pubfile) > gencalls
printf("#include \"%s\"\n\n", privfile) > gencalls
- printf("void __dead\nrump_%s_unavailable(void);\n", \
+ printf("void __dead rump_%s_unavailable(void);\n", \
myname) > gencalls
printf("void __dead\nrump_%s_unavailable(void)\n{\n", \
myname) > gencalls
@@ -152,6 +152,8 @@
funname = $2
sub("[ \t]*$", "", funname)
funargs = $3
+ sub("[ \t]*$", "", funargs)
+
printf("%s rump_%s(%s);\n", funtype, funname, funargs) > pubhdr
printf("%s rumppriv_%s(%s);\n", funtype, funname, funargs) > privhdr
@@ -183,7 +185,7 @@
printf(")\n{\n") > gencalls
if (!voidret) {
- printf("\t%s rv;\n", $1) > gencalls
+ printf("\t%s rv;\n", funtype) > gencalls
}
printf("\n\t") > gencalls
if (!voidret)
Home |
Main Index |
Thread Index |
Old Index