summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-02-06 11:34:56 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-02-06 11:34:56 +1100
commitced48a2deee355145ace80921f658556d7a1a715 (patch)
tree96138981391c25d5b6cd8a448abcd002e5667605
parent6dc42dfb4007f9ab58fef20b5baea4e4fcbf67da (diff)
downloadmongo-ced48a2deee355145ace80921f658556d7a1a715.tar.gz
Remove a GCC-specific function attribution used for build testing.
--HG-- extra : rebase_source : 0ab3eaa41269e81c4e1f0d952306c87f97fc1f3b
-rw-r--r--src/cursor/cur_std.c1
-rw-r--r--src/include/extern.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/cursor/cur_std.c b/src/cursor/cur_std.c
index 1619f6cf9b9..8cfdfd040e9 100644
--- a/src/cursor/cur_std.c
+++ b/src/cursor/cur_std.c
@@ -319,7 +319,6 @@ __wt_cursor_close(WT_CURSOR *cursor)
int
__wt_cursor_init(WT_CURSOR *cursor,
const char *uri, int is_file, int is_public, const char *cfg[])
- WT_GCC_FUNC_ATTRIBUTE((warn_unused_result))
{
WT_SESSION_IMPL *session;
diff --git a/src/include/extern.h b/src/include/extern.h
index 607dbf95889..b1bc1664c97 100644
--- a/src/include/extern.h
+++ b/src/include/extern.h
@@ -472,7 +472,7 @@ extern int __wt_cursor_init(WT_CURSOR *cursor,
const char *uri,
int is_file,
int is_public,
- const char *cfg[]) WT_GCC_ATTRIBUTE((warn_unused_result));
+ const char *cfg[]);
extern int __wt_cursor_kv_not_set(WT_CURSOR *cursor, int key);
extern int __wt_curtable_get_key(WT_CURSOR *cursor, ...);
extern int __wt_curtable_get_value(WT_CURSOR *cursor, ...);