projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
51ae576
)
caseproto_ref: Append compiler directive WARN_UNUSED_RESULT
author
John Darrington
<john@darrington.wattle.id.au>
Thu, 22 Oct 2015 14:14:28 +0000
(16:14 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Thu, 22 Oct 2015 14:14:28 +0000
(16:14 +0200)
src/data/caseproto.h
patch
|
blob
|
history
diff --git
a/src/data/caseproto.h
b/src/data/caseproto.h
index 0bc02812d18590aeb3ba4ca664445f8134d488bf..a8468ddeed3b5c5b1978e83897eb956d7ccd5bef 100644
(file)
--- a/
src/data/caseproto.h
+++ b/
src/data/caseproto.h
@@
-80,8
+80,8
@@
struct pool;
/* Creation and destruction. */
struct caseproto *caseproto_create (void) MALLOC_LIKE;
/* Creation and destruction. */
struct caseproto *caseproto_create (void) MALLOC_LIKE;
-static inline struct caseproto *caseproto_ref (const struct caseproto *);
-struct caseproto *caseproto_ref_pool (const struct caseproto *, struct pool *);
+static inline struct caseproto *caseproto_ref (const struct caseproto *)
WARN_UNUSED_RESULT
;
+struct caseproto *caseproto_ref_pool (const struct caseproto *, struct pool *)
WARN_UNUSED_RESULT
;
static inline void caseproto_unref (struct caseproto *);
/* Inspecting stored widths. */
static inline void caseproto_unref (struct caseproto *);
/* Inspecting stored widths. */