summaryrefslogtreecommitdiff
path: root/procps/renice.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-06-02 20:56:16 +0000
committerBernhard Reutner-Fischer2006-06-02 20:56:16 +0000
commite15d7573a1263fb364d1678c3a46be47a8b5e5ea (patch)
tree09e7b482b38ac571a01e936fb91df16dd1eeef42 /procps/renice.c
parentecae66ac16338d8cddb55e1782ebd8c5f670ff53 (diff)
downloadbusybox-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.zip
busybox-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.tar.gz
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
Diffstat (limited to 'procps/renice.c')
-rw-r--r--procps/renice.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/procps/renice.c b/procps/renice.c
index 711ed16..53dc578 100644
--- a/procps/renice.c
+++ b/procps/renice.c
@@ -4,20 +4,7 @@
*
* Copyright (C) 2005 Manuel Novoa III <mjn3@codepoet.org>
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
+ * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
/* Notes:
@@ -32,6 +19,7 @@
* following IDs (if any). Multiple switches are allowed.
*/
+#include "busybox.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -39,7 +27,6 @@
#include <errno.h>
#include <unistd.h>
#include <sys/resource.h>
-#include "busybox.h"
#if (PRIO_PROCESS < CHAR_MIN) || (PRIO_PROCESS > CHAR_MAX)
#error Assumption violated : PRIO_PROCESS value