26 lines
548 B
Diff
26 lines
548 B
Diff
--- src/ntpd.h.orig
|
|
+++ src/ntpd.h
|
|
@@ -33,6 +33,10 @@
|
|
|
|
#include "ntp.h"
|
|
|
|
+#if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
|
|
+#define __dead __attribute__((__noreturn__))
|
|
+#endif
|
|
+
|
|
#define MAXIMUM(a, b) ((a) > (b) ? (a) : (b))
|
|
|
|
#ifndef NTPD_USER
|
|
--- src/log.c.orig
|
|
+++ src/log.c
|
|
@@ -24,6 +24,10 @@
|
|
#include <errno.h>
|
|
#include <time.h>
|
|
|
|
+#if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
|
|
+#define __dead __attribute__((__noreturn__))
|
|
+#endif
|
|
+
|
|
static int debug;
|
|
static int verbose;
|
|
const char *log_procname;
|