diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-03-27 11:33:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-03-27 11:33:40 +0000 |
commit | c55b0fe0cea07c2c15f81b9e2dc5bb36ef88bc56 (patch) | |
tree | 059e448ad89303237b9371df2b91f6fb242c9c59 /process-x11-fields.pl | |
parent | b8b4a6e3a8e734fbfbbe996f1431be1fb347b1f6 (diff) |
From Gisle Vanem: add a "this is a generated file" comment to the output
of process-x11-fields.
svn path=/trunk/; revision=10504
Diffstat (limited to 'process-x11-fields.pl')
-rw-r--r-- | process-x11-fields.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/process-x11-fields.pl b/process-x11-fields.pl index 25b4a9f834..ae2edcc18a 100644 --- a/process-x11-fields.pl +++ b/process-x11-fields.pl @@ -6,7 +6,7 @@ # # Copyright 2000, Christophe Tronche <ch.tronche@computer.org> # -# $Id: process-x11-fields.pl,v 1.5 2001/06/18 02:17:58 guy Exp $ +# $Id: process-x11-fields.pl,v 1.6 2004/03/27 11:33:40 guy Exp $ # # Ethereal - Network traffic analyzer # By Gerald Combs <gerald@ethereal.com> @@ -30,6 +30,10 @@ open(DECL, ">x11-declarations.h") || die; open(REG, ">x11-register-info.h") || die; +$comment = "/* This file is generated by $0, do not edit. */\n\n"; +print DECL $comment; +print REG $comment; + $prefix = ''; $subfieldStringLength = 0; |