aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-10-29 15:03:19 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-10-29 15:08:50 +0200
commit5da09d08428079739170bd2b64db4997b04b38ec (patch)
tree1ea253d38b7163668e4518ad9e6dddc988f7baa0 /tests
parent155c3856ce84ec209f7648baef5b00a63ce77ce5 (diff)
downloadgdbm-5da09d08428079739170bd2b64db4997b04b38ec.tar.gz
gdbm-5da09d08428079739170bd2b64db4997b04b38ec.tar.bz2
Minor changes
* src/gdbmconst.h: Don't redefine SIZE_T_MAX * src/gdbmtool.c: Likewise. Include <termios.h>, instead of <sys/termios.h> * configure.ac: Don't check for termios.h * tests/closerr.c: Minor fixes.
Diffstat (limited to 'tests')
-rw-r--r--tests/closerr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/closerr.c b/tests/closerr.c
index 39fb0b7..b86d74f 100644
--- a/tests/closerr.c
+++ b/tests/closerr.c
@@ -18,20 +18,20 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
+#include <unistd.h>
#include "gdbm.h"
int
main (int argc, char **argv)
{
GDBM_FILE dbf;
char dbname[] = "junk.gdbm";
- int rc;
assert (argc == 1);
dbf = gdbm_open (dbname, 0, GDBM_NEWDB, 0600, NULL);
if (!dbf)
{

Return to:

Send suggestions and report system problems to the System administrator.