str: Mark definition of ss_empty() "static inline".
[pspp-builds.git] / src / libpspp / str.h
index cf4888ed2896da9ca750463780a8f540a4f2601b..c8ab726797f8fbf82bdea0e336059d1ab1eec895 100644 (file)
@@ -231,6 +231,9 @@ void ds_put_format (struct string *, const char *, ...)
      PRINTF_FORMAT (2, 3);
 char *ds_put_uninit (struct string *st, size_t incr);
 
+char *ds_splice_uninit (struct string *, size_t ofs, size_t old_len,
+                        size_t new_len);
+
 /* Other */
 /* calls relocate from gnulib on ST */
 void ds_relocate (struct string *st);
@@ -240,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
+static inline struct substring
 ss_empty (void)
 {
   struct substring ss;