aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/nice.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/nice.c')
-rw-r--r--toys/posix/nice.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/toys/posix/nice.c b/toys/posix/nice.c
index 4f522aa7..d45429f8 100644
--- a/toys/posix/nice.c
+++ b/toys/posix/nice.c
@@ -22,14 +22,13 @@ config NICE
priority. Only root can set a negative niceness level.
*/
+#define FOR_nice
#include "toys.h"
-DEFINE_GLOBALS(
+GLOBALS(
long priority;
)
-#define TT this.nice
-
void nice_main(void)
{
if (!toys.optflags) TT.priority = 10;