X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fstrxcpyx.h;h=ccc7e52f3757a4afb5ebbbdff6752476027cd6d0;hb=f85ef957e647c5182acf5e64298f68e4b7fbfe8f;hp=1229a4821df22d0f837d1ab8ee71a78c1cbd6eb6;hpb=d5a89d7dc17a5ba5cf4fc71f82963c5c94a31c3d;p=elogind.git
diff --git a/src/shared/strxcpyx.h b/src/shared/strxcpyx.h
index 1229a4821..ccc7e52f3 100644
--- a/src/shared/strxcpyx.h
+++ b/src/shared/strxcpyx.h
@@ -21,11 +21,11 @@
along with systemd; If not, see .
***/
-#include
-#include
+
+#include "macro.h"
size_t strpcpy(char **dest, size_t size, const char *src);
-size_t strpcpyf(char **dest, size_t size, const char *src, ...) __attribute__((format(printf, 3, 4)));
-size_t strpcpyl(char **dest, size_t size, const char *src, ...) __attribute__((sentinel));
+size_t strpcpyf(char **dest, size_t size, const char *src, ...) _printf_(3, 4);
+size_t strpcpyl(char **dest, size_t size, const char *src, ...) _sentinel_;
size_t strscpy(char *dest, size_t size, const char *src);
-size_t strscpyl(char *dest, size_t size, const char *src, ...) __attribute__((sentinel));
+size_t strscpyl(char *dest, size_t size, const char *src, ...) _sentinel_;