]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
command_util: Kill HC and CC header lines.
authorAndre Noll <maan@systemlinux.org>
Wed, 27 Jun 2012 22:57:52 +0000 (00:57 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 29 Jun 2012 19:36:30 +0000 (21:36 +0200)
There is no point in pretty-printing the generated files. Nobody reads
these files anyway and doxygen ignores them as well.

afs.cmd
audiod.cmd
command_util.sh
server.cmd

diff --git a/afs.cmd b/afs.cmd
index 11b163115258736e4f72760a2408c83ac832c648..2dd55735a94d15c46d551e28134b8cba0c0257fb 100644 (file)
--- 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
index c58907448f12eeb44551b98d113c3ef52ba9979f..5ec578746af3c98b5b0bf9a72dd71e278c4d938d 100644 (file)
@@ -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
index 76b3445fc1557b607ef72ae9408dec38f8a54507..a66b56bbdb51940a5aabb50f3e98daeae5d561cd 100755 (executable)
@@ -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
index d0e8f271ebca5a4f419c2cd0f8268d09365a1849..e676aa68a73141e3918ee7e4b8042335a7250808 100644 (file)
@@ -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