summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2009-01-22 00:43:58 +0000
committerShawn Routhier <sar@isc.org>2009-01-22 00:43:58 +0000
commitae566556280cc57824f6ab44fdf5aef97274ee42 (patch)
tree671dd88802210218a493303b8949512939db4dba /tests
parent5536fc37e3a0cb0cccce4209f3e06b56885c43d7 (diff)
downloadisc-dhcp-ae566556280cc57824f6ab44fdf5aef97274ee42.tar.gz
Update for 19054 - modifications to keep GCC 4.3 happy
Diffstat (limited to 'tests')
-rw-r--r--tests/t_api.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/t_api.c b/tests/t_api.c
index 6685cec0..0211b834 100644
--- a/tests/t_api.c
+++ b/tests/t_api.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: t_api.c,v 1.2 2007/11/16 11:04:12 shane Exp $ */
+/* $Id: t_api.c,v 1.3 2009/01/22 00:43:58 sar Exp $ */
/*! \file */
@@ -61,6 +61,7 @@
#endif /* BIND_SUPPORT */
#include "t_api.h"
+#include "cdefs.h"
static const char *Usage =
"\t-a : run all tests\n"
@@ -245,7 +246,7 @@ main(int argc, char **argv) {
*/
if (T_dir != NULL)
- (void) chdir(T_dir);
+ IGNORE_RET (chdir(T_dir));
/*
* We don't want buffered output.