aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-10 20:02:50 +0000
committerRichard M. Stallman1993-11-10 20:02:50 +0000
commite89a2cd50ea314d9479cf688655a304258670449 (patch)
treec62ed82d488b683509485082fc2d7a2d54b79939 /src
parentd04d81d2cbe6e6b30743051f5c3ccf08fd116e2c (diff)
downloademacs-e89a2cd50ea314d9479cf688655a304258670449.tar.gz
emacs-e89a2cd50ea314d9479cf688655a304258670449.zip
(sys_suspend): Use EMACS_GETPGRP macro.
Diffstat (limited to 'src')
-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 ()
591#ifdef SIGTSTP 591#ifdef SIGTSTP
592 592
593 { 593 {
594#ifdef USG 594 int pgrp = EMACS_GETPGRP (0);
595 int pgrp = getpgrp ();
596#else
597 int pgrp = getpgrp (0);
598#endif
599 EMACS_KILLPG (pgrp, SIGTSTP); 595 EMACS_KILLPG (pgrp, SIGTSTP);
600 } 596 }
601 597