Upgrade to 3.1.13 OBS-URL: https://build.opensuse.org/request/show/178540 OBS-URL: https://build.opensuse.org/package/show/Base:System/at?expand=0&rev=59
42 lines
1005 B
Diff
42 lines
1005 B
Diff
Index: daemon.h
|
|
===================================================================
|
|
--- daemon.h.orig
|
|
+++ daemon.h
|
|
@@ -3,15 +3,15 @@ void daemon_cleanup(void);
|
|
|
|
void
|
|
#ifdef HAVE_ATTRIBUTE_NORETURN
|
|
__attribute__((noreturn))
|
|
#endif
|
|
-pabort (const char *fmt, ...);
|
|
+pabort (const char *fmt, ...) __attribute__((__format__(printf,1,2)));
|
|
|
|
void
|
|
#ifdef HAVE_ATTRIBUTE_NORETURN
|
|
__attribute__((noreturn))
|
|
#endif
|
|
-perr (const char *fmt, ...);
|
|
+perr (const char *fmt, ...) __attribute__((__format__(printf,1,2)));
|
|
|
|
extern int daemon_debug;
|
|
extern int daemon_foreground;
|
|
Index: panic.h
|
|
===================================================================
|
|
--- panic.h.orig
|
|
+++ panic.h
|
|
@@ -24,11 +24,13 @@ __attribute__((noreturn))
|
|
panic(char *a);
|
|
void
|
|
#ifdef HAVE_ATTRIBUTE_NORETURN
|
|
__attribute__((noreturn))
|
|
#endif
|
|
-perr(const char *a, ...);
|
|
+perr(const char *a, ...)
|
|
+__attribute__((__format__(printf,1,2)))
|
|
+;
|
|
void
|
|
#ifdef HAVE_ATTRIBUTE_NORETURN
|
|
__attribute__((noreturn))
|
|
#endif
|
|
usage(void);
|