The following commit has been merged in the master branch:
commit 65644f1457597eb610cff6672c42620b4d743d02
Author: Guillem Jover <[email protected]>
Date: Mon Nov 26 16:38:30 2012 +0100
s-s-d: Group macro definitions after header inclusions
diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c
index 766ae3b..d966127 100644
--- a/utils/start-stop-daemon.c
+++ b/utils/start-stop-daemon.c
@@ -43,8 +43,6 @@
# error Unknown architecture - cannot build start-stop-daemon
#endif
-#define MIN_POLL_INTERVAL 20000 /* µs */
-
#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
#endif
@@ -126,10 +124,17 @@
#define PROCESS_NAME_SIZE 19
#endif
+#define MIN_POLL_INTERVAL 20000 /* µs */
+
#if defined(SYS_ioprio_set) && defined(linux)
#define HAVE_IOPRIO_SET
#endif
+#define IOPRIO_CLASS_SHIFT 13
+#define IOPRIO_PRIO_VALUE(class, prio) (((class) << IOPRIO_CLASS_SHIFT) |
(prio))
+#define IO_SCHED_PRIO_MIN 0
+#define IO_SCHED_PRIO_MAX 7
+
enum {
IOPRIO_WHO_PROCESS = 1,
IOPRIO_WHO_PGRP,
@@ -175,11 +180,6 @@ static const char *progname = "";
static int nicelevel = 0;
static int umask_value = -1;
-#define IOPRIO_CLASS_SHIFT 13
-#define IOPRIO_PRIO_VALUE(class, prio) (((class) << IOPRIO_CLASS_SHIFT) |
(prio))
-#define IO_SCHED_PRIO_MIN 0
-#define IO_SCHED_PRIO_MAX 7
-
static struct stat exec_stat;
#if defined(OSHurd)
static struct proc_stat_list *procset = NULL;
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]