From 269263a5f78340b5164e280582b582f7c1e239c4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 14 Oct 2006 10:38:54 +0000 Subject: [PATCH] * src/pinky.c (S_IWGRP): Don't define. Instead, include "stat-macros.h". --- ChangeLog | 3 +++ src/pinky.c | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 03c59d3773..fe87f0a5dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-10-14 Jim Meyering + * src/pinky.c (S_IWGRP): Don't define. + Instead, include "stat-macros.h". + * Makefile.cfg: Remove cruft that's now handled via bootstrap. * Makefile.maint: Likewise, remove these targets/rules/variables: (local_updates, update, cvs-update, wget_files, get-targets): Remove. diff --git a/src/pinky.c b/src/pinky.c index ab52705e4f..25feef35e7 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. */ -- 2.47.3