summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/devlist2h.awk
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-29 00:43:01 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-29 00:43:01 +0000
commit4ff718695a4f5bf5f4d96ff452288dd72726a52b (patch)
tree9faf624012cee5fec99f0431db83be149e4a87fb /sys/arch/hppa/dev/devlist2h.awk
parentaca5b9b3c764c38d0d525729e842b0946f73180b (diff)
the content we define, decide for names and labels includer is
Diffstat (limited to 'sys/arch/hppa/dev/devlist2h.awk')
-rw-r--r--sys/arch/hppa/dev/devlist2h.awk11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/arch/hppa/dev/devlist2h.awk b/sys/arch/hppa/dev/devlist2h.awk
index ad9cd403a6d..291fa416c4b 100644
--- a/sys/arch/hppa/dev/devlist2h.awk
+++ b/sys/arch/hppa/dev/devlist2h.awk
@@ -1,7 +1,7 @@
-# $OpenBSD: devlist2h.awk,v 1.3 2000/02/09 07:23:19 mickey Exp $
+# $OpenBSD: devlist2h.awk,v 1.4 2001/03/29 00:43:00 mickey Exp $
#
-# Copyright (c) 1998-2000 Michael Shalayeff
+# Copyright (c) 1998-2001 Michael Shalayeff
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -65,9 +65,6 @@ NR == 1 {
" * generated from:\n *\t%s\n */\n\n", VERSION) > cpud;
printf("/*\n * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.\n" \
" * generated from:\n *\t%s\n */\n\n", VERSION) > cpuh;
-
- printf("static const struct hppa_mod_info hppa_knownmods[] = {\n")\
- > cpud;
}
$1 == "type" {
@@ -80,7 +77,7 @@ NR > 1 {
if (tolower($1) in types) {
printf("#define\tHPPA_%s_%s\t%s\n", toupper($1),
toupper($2), $3) > cpuh;
- printf("\t{HPPA_TYPE_%s,\tHPPA_%s_%s,\t\"", toupper($1),
+ printf("{HPPA_TYPE_%s,\tHPPA_%s_%s,\t\"", toupper($1),
toupper($1), toupper($2), $3) > cpud;
f = 4;
while (f <= NF) {
@@ -121,6 +118,6 @@ END {
print("unteminated comment at the EOF\n");
exit(1);
}
- printf("\t{ -1 }\n};\n") > cpud;
+ printf("{ -1 }\n") > cpud;
}