]> git.tuebingen.mpg.de Git - paraslash.git/commit
clean up error.h
authorAndre Noll <maan@systemlinux.org>
Sun, 10 Jun 2007 23:45:51 +0000 (01:45 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 10 Jun 2007 23:45:51 +0000 (01:45 +0200)
commita7a37b282c4e936b2fb34c2bd7423f9f800dfd44
tree7c942ceb8676e8cfb0380011c88f05126dc90097
parent33713473b1051c2d9f487c66a92a5cbdf1277ce3
clean up error.h

It contained quite some unused error codes. This patch gets rid of
them and thus saves some space in the resulting binaries.

More importantly, there were two instances where a source file used
an error value of another source file (which is ok), but the object
file of that other source file would not get linked into the resulting
binary (which is not ok):

- aac_afh.c used E_AACDEC_INIT, which is not contained in
  para_server

- http_recv.c used E_OVERRUN which is defined only if ortp
  support was compiled in.

The patch also fixes another bug in the ogg vorbis audio format handler
where (the positive value) E_STREAM_PAGEIN was returned instead of
-E_STREAM_PAGEIN in case ogg_stream_pagein() failed.
Makefile.in
aac_afh.c
audioc.c
crypt.c
error.h
http_recv.c
ogg_afh.c
write_common.c