From: Ben Pfaff Date: Thu, 10 Nov 2011 05:02:06 +0000 (-0800) Subject: str: Mark definition of ss_empty() "static inline". X-Git-Tag: v0.7.9~97 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=e91b6c7d11cfeaf1619224f6a14fb4be86690aa4 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 --- 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;