projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7235f7f
)
str: Mark definition of ss_empty() "static inline".
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 10 Nov 2011 05:02:06 +0000
(21:02 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 10 Nov 2011 05:30:26 +0000
(21:30 -0800)
This suppresses a Clang warning. The prototype earlier in the file
was already marked "static inline", so I don't think that this is a
functional change.
Reported-by: Jeremy Lavergne <jeremy@lavergne.gotdns.org>
src/libpspp/str.h
patch
|
blob
|
history
diff --git
a/src/libpspp/str.h
b/src/libpspp/str.h
index 7c3ef3d5f9ed5ffd89ff4c339e49e66fa9464073..c8ab726797f8fbf82bdea0e336059d1ab1eec895 100644
(file)
--- a/
src/libpspp/str.h
+++ b/
src/libpspp/str.h
@@
-243,7
+243,7
@@
void u8_buf_copy_rpad (uint8_t *dst, size_t dst_size,
const uint8_t *src, size_t src_size,
char pad);
\f
-struct substring
+st
atic inline st
ruct substring
ss_empty (void)
{
struct substring ss;