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:
parent
a652ecb78e
commit
19aec98b8a
126 changed files with 1565 additions and 1722 deletions
|
@ -52,7 +52,7 @@ CU_Clean(ddstr_strtoll)
|
|||
|
||||
CU_Test(ddsrt_strtoll, strtoll)
|
||||
{
|
||||
dds_retcode_t rc;
|
||||
dds_return_t rc;
|
||||
long long ll;
|
||||
static char dummy[] = "dummy";
|
||||
|
||||
|
@ -248,7 +248,7 @@ CU_Test(ddsrt_strtoll, strtoll)
|
|||
|
||||
CU_Test(ddsrt_strtoll, strtoull)
|
||||
{
|
||||
dds_retcode_t rc;
|
||||
dds_return_t rc;
|
||||
unsigned long long ull;
|
||||
|
||||
str = "0xffffffffffffffff";
|
||||
|
@ -272,7 +272,7 @@ CU_Test(ddsrt_strtoll, strtoull)
|
|||
|
||||
CU_Test(ddsrt_strtoll, atoll)
|
||||
{
|
||||
dds_retcode_t rc;
|
||||
dds_return_t rc;
|
||||
long long ll;
|
||||
|
||||
str = "10";
|
||||
|
@ -284,7 +284,7 @@ CU_Test(ddsrt_strtoll, atoll)
|
|||
|
||||
CU_Test(ddsrt_strtoll, atoull)
|
||||
{
|
||||
dds_retcode_t rc;
|
||||
dds_return_t rc;
|
||||
unsigned long long ull;
|
||||
|
||||
str = "10";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue