From: Andre Noll Date: Wed, 27 Jun 2012 22:57:52 +0000 (+0200) Subject: command_util: Kill HC and CC header lines. X-Git-Tag: v0.4.11~10^2~8 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=6a4f5e85c1e9eb6fd21477438762c4f95c29f30c;p=paraslash.git command_util: Kill HC and CC header lines. There is no point in pretty-printing the generated files. Nobody reads these files anyway and doxygen ignores them as well. --- diff --git a/afs.cmd b/afs.cmd index 11b16311..2dd55735 100644 --- a/afs.cmd +++ b/afs.cmd @@ -1,7 +1,5 @@ OF: afs_command_list SF: afs.c aft.c attribute.c -HC: Prototypes for the commands of the audio file selector. -CC: Array of commands for the audio file selector. AT: server_command SI: osl regex IN: para error crypt sideband command string afh afs server list user_list diff --git a/audiod.cmd b/audiod.cmd index c5890744..5ec57874 100644 --- a/audiod.cmd +++ b/audiod.cmd @@ -1,7 +1,5 @@ OF: audiod_command_list SF: audiod_command.c -HC: prototypes for the audiod command handlers -CC: array of audiod commands AT: audiod_command IN: list para sched audiod SN: list of audiod commands diff --git a/command_util.sh b/command_util.sh index 76b3445f..a66b56bb 100755 --- a/command_util.sh +++ b/command_util.sh @@ -10,12 +10,6 @@ read_header() ---) break ;; - HC:) - header_comment="$value" - ;; - CC:) - c_file_comment="$value" - ;; OF:) output_file="$value" array_name=${value%command_list}cmds @@ -47,8 +41,7 @@ read_header() template_members="$value" esac done - if test -z "$header_comment" -o -z "$c_file_comment" \ - -o -z "$output_file"; then + if test -z "$output_file"; then echo "header error" 1&>2 exit 1 fi @@ -267,7 +260,6 @@ template_loop() com_c_file() { - echo "/** \file $output_file.c $c_file_comment */" echo "$system_includes" echo "$includes" echo "struct $array_type $array_name[] = {" @@ -290,8 +282,6 @@ com_c_file() com_header() { - echo "/** \file $output_file.h $header_comment */" - echo echo "extern struct $array_type $array_name[];" while : ; do read_one_command diff --git a/server.cmd b/server.cmd index d0e8f271..e676aa68 100644 --- a/server.cmd +++ b/server.cmd @@ -1,7 +1,5 @@ OF: server_command_list SF: command.c -HC: prototypes for the server command handlers -CC: array of server commands AT: server_command SI: osl regex IN: para error crypt sideband command string afh afs server list user_list