From e42c953419c841c0a2b90f9488e6f519e6e49f0b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 2 Jan 2004 17:35:01 +0000 Subject: 2004-01-02 Andrew Cagney * utils.c (do_my_cleanups): Make static, add forward declaration. * defs.h (do_my_cleanups): Delete declaration. --- gdb/testsuite/gdb.base/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite') diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c index 591b3b6..9c40eb4 100644 --- a/gdb/testsuite/gdb.base/fileio.c +++ b/gdb/testsuite/gdb.base/fileio.c @@ -103,7 +103,7 @@ test_open () close (ret); /* Open for write but no write permission */ errno = 0; - ret = open (NOWRITE, O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR); + ret = open (NOWRITE, O_CREAT | O_RDONLY, S_IRUSR); if (ret >= 0) { close (ret); -- cgit v1.1