summaryrefslogtreecommitdiff
path: root/src/pinky.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-10-14 10:38:54 +0000
committerJim Meyering <jim@meyering.net>2006-10-14 10:38:54 +0000
commit269263a5f78340b5164e280582b582f7c1e239c4 (patch)
tree5f5888f5104b871c97863d8c600d279bfa12b9b7 /src/pinky.c
parent34b35b1a3e656f9927de480d1599a319804fc298 (diff)
downloadcoreutils-269263a5f78340b5164e280582b582f7c1e239c4.tar.xz
* src/pinky.c (S_IWGRP): Don't define.
Instead, include "stat-macros.h".
Diffstat (limited to 'src/pinky.c')
-rw-r--r--src/pinky.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pinky.c b/src/pinky.c
index ab52705e4..25feef35e 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -30,6 +30,7 @@
#include "hard-locale.h"
#include "inttostr.h"
#include "readutmp.h"
+#include "stat-macros.h"
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "pinky"
@@ -40,10 +41,6 @@
# define MAXHOSTNAMELEN 64
#endif
-#ifndef S_IWGRP
-# define S_IWGRP 020
-#endif
-
char *ttyname ();
/* The name this program was run with. */