aboutsummaryrefslogtreecommitdiff
path: root/src/xz/util.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xz/util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xz/util.h b/src/xz/util.h
index 3fac8961..6d7e1481 100644
--- a/src/xz/util.h
+++ b/src/xz/util.h
@@ -19,8 +19,8 @@
/// \brief Safe realloc() that never returns NULL
-extern void *xrealloc(void *ptr, size_t size)
- lzma_attr_alloc_size(2);
+lzma_attr_alloc_size(2)
+extern void *xrealloc(void *ptr, size_t size);
/// \brief Safe strdup() that never returns NULL
@@ -101,8 +101,8 @@ extern const char *uint64_to_nicestr(uint64_t value,
///
/// A maximum of *left bytes is written starting from *pos. *pos and *left
/// are updated accordingly.
-extern void my_snprintf(char **pos, size_t *left, const char *fmt, ...)
- lzma_attribute((__format__(__printf__, 3, 4)));
+lzma_attribute((__format__(__printf__, 3, 4)))
+extern void my_snprintf(char **pos, size_t *left, const char *fmt, ...);
/// \brief Test if stdin is a terminal