]> git.tuebingen.mpg.de Git - paraslash.git/commit
command_util: Write array definition in header mode.
authorAndre Noll <maan@systemlinux.org>
Thu, 28 Jun 2012 02:23:32 +0000 (04:23 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 29 Jun 2012 19:36:31 +0000 (21:36 +0200)
commitc9df5dfaa915915e0717c1992bc8498f6432dba8
tree10feeb4172ee40e5b3b4899a0a17fe36f758719d
parent73ca799d08ee415ffb35ecce736b5e7d2abc3c73
command_util: Write array definition in header mode.

This modifies command_util.sh so that when it is called in header mode,
it also defines a macro for the array of all commands. command.c and
audiod_command.c are changed to use the new preprocessor macro.

This allows to get rid of the *command_list.c files completely. We may
hence remove these files from the various lists of errlist objects
in configure.ac. and from error.h. A subsequent patch will clean up
the parts that have become unused by this commit.
afs.cmd
audiod.cmd
audiod_command.c
command.c
command_util.sh
configure.ac
error.h
server.cmd