Clean up return code types

* Remove dds_return_t / dds_retcode_t distinction (now there is only
  dds_return_t and all error codes are always negative)

* Remove Q_ERR_... error codes and replace them by DDS_RETCODE_...
  ones so that there is only one set of error codes

* Replace a whole bunch "int" return types that were used to return
  Q_ERR_... codes by "dds_return_t" return types

Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
Erik Boasson 2019-05-23 16:51:43 +02:00 committed by eboasson
parent a652ecb78e
commit 19aec98b8a
126 changed files with 1565 additions and 1722 deletions

View file

@ -298,7 +298,7 @@ mpt_run_test(const char *exe, mpt_suite_t *suite, mpt_test_t *test)
{
int result = EXIT_SUCCESS;
mpt_process_t *proc;
dds_retcode_t retcode;
dds_return_t retcode;
char *argv[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
argv[0] = "-s";