diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-02 17:35:01 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-02 17:35:01 +0000 |
commit | e42c953419c841c0a2b90f9488e6f519e6e49f0b (patch) | |
tree | b5cddf54a796184c1eb92db5b44dac9d4b9ea791 /gdb/testsuite/gdb.base/fileio.c | |
parent | 303e7b798f250bdd77ba441fe231a0b8d0836124 (diff) | |
download | gdb-e42c953419c841c0a2b90f9488e6f519e6e49f0b.zip gdb-e42c953419c841c0a2b90f9488e6f519e6e49f0b.tar.gz gdb-e42c953419c841c0a2b90f9488e6f519e6e49f0b.tar.bz2 |
2004-01-02 Andrew Cagney <cagney@redhat.com>
* utils.c (do_my_cleanups): Make static, add forward declaration.
* defs.h (do_my_cleanups): Delete declaration.
Diffstat (limited to 'gdb/testsuite/gdb.base/fileio.c')
-rw-r--r-- | gdb/testsuite/gdb.base/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |