From e91b6c7d11cfeaf1619224f6a14fb4be86690aa4 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 9 Nov 2011 21:02:06 -0800 Subject: [PATCH] str: Mark definition of ss_empty() "static inline". 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 --- src/libpspp/str.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpspp/str.h b/src/libpspp/str.h index 7c3ef3d5..c8ab7267 100644 --- 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); -struct substring +static inline struct substring ss_empty (void) { struct substring ss; -- 2.30.2