diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:12:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:12:14 +0000 |
commit | 4b8a0f3f3dcf60dac2ce308ea08d413a535af29f (patch) | |
tree | 0f09c0ad2a4d0f535d89040a63dc3a866a6606e6 /mprintf.h | |
parent | Initial commit. (diff) | |
download | reprepro-4b8a0f3f3dcf60dac2ce308ea08d413a535af29f.tar.xz reprepro-4b8a0f3f3dcf60dac2ce308ea08d413a535af29f.zip |
Adding upstream version 5.4.4.upstream/5.4.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mprintf.h')
-rw-r--r-- | mprintf.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mprintf.h b/mprintf.h new file mode 100644 index 0000000..4d01be0 --- /dev/null +++ b/mprintf.h @@ -0,0 +1,12 @@ +#ifndef REPREPRO_MPRINTF +#define REPREPRO_MPRINTF + +#include <stdarg.h> + +/* This is just a asprintf-wrapper to be more easily used + * and alwasy returns NULL on error */ + +/*@null@*/char * mprintf(const char *, ...) __attribute__ ((format (printf, 1, 2))); +/*@null@*/char * vmprintf(const char *, va_list); + +#endif |