summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-10 20:02:50 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-10 20:02:50 +0000
commite89a2cd50ea314d9479cf688655a304258670449 (patch)
treec62ed82d488b683509485082fc2d7a2d54b79939 /src/sysdep.c
parentd04d81d2cbe6e6b30743051f5c3ccf08fd116e2c (diff)
downloademacs-e89a2cd50ea314d9479cf688655a304258670449.tar.gz
(sys_suspend): Use EMACS_GETPGRP macro.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 3d219c69c78..0eacd05cc3e 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -591,11 +591,7 @@ sys_suspend ()
#ifdef SIGTSTP
{
-#ifdef USG
- int pgrp = getpgrp ();
-#else
- int pgrp = getpgrp (0);
-#endif
+ int pgrp = EMACS_GETPGRP (0);
EMACS_KILLPG (pgrp, SIGTSTP);
}