summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-11-03 00:11:56 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-03 00:11:56 +0000
commit86200d5c124bc2c4ff76c03f8d202379eee9e648 (patch)
treed529e57b79b982c2546234f2666eb4a87d12a8cb /ext
parentde4b552e364e65ce79c216c95f6f553708e83b99 (diff)
downloadperl-86200d5c124bc2c4ff76c03f8d202379eee9e648.tar.gz
The #7521 touched things it shouldn't have.
p4raw-id: //depot/perl@7532
Diffstat (limited to 'ext')
-rw-r--r--ext/POSIX/POSIX.xs15
-rw-r--r--ext/POSIX/typemap3
2 files changed, 8 insertions, 10 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index c5d169a9f2..887fcbcbea 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -65,7 +65,7 @@
# include <lib$routines.h> /* prototype for lib$ediv() */
# include <starlet.h> /* prototype for sys$gettim() */
# if DECC_VERSION < 50000000
-# define Pid_t int /* old versions of DECC miss this in types.h */
+# define pid_t int /* old versions of DECC miss this in types.h */
# endif
# undef mkfifo
@@ -117,7 +117,7 @@
# define mkfifo(a,b) not_here("mkfifo")
# define ttyname(a) (char*)not_here("ttyname")
# define sigset_t long
-# define Pid_t long
+# define pid_t long
# ifdef __BORLANDC__
# define tzname _tzname
# endif
@@ -3545,20 +3545,20 @@ read(fd, buffer, nbytes)
SysRet
setpgid(pid, pgid)
- Pid_t pid
- Pid_t pgid
+ pid_t pid
+ pid_t pgid
-Pid_t
+pid_t
setsid()
-Pid_t
+pid_t
tcgetpgrp(fd)
int fd
SysRet
tcsetpgrp(fd, pgrp_id)
int fd
- Pid_t pgrp_id
+ pid_t pgrp_id
int
uname()
@@ -3956,4 +3956,3 @@ char *
ttyname(fd)
int fd
-
diff --git a/ext/POSIX/typemap b/ext/POSIX/typemap
index c94df7a4b9..d54d5d11a0 100644
--- a/ext/POSIX/typemap
+++ b/ext/POSIX/typemap
@@ -1,10 +1,9 @@
Mode_t T_NV
-Pid_t T_NV
+pid_t T_NV
Uid_t T_NV
Time_t T_NV
Gid_t T_NV
Uid_t T_NV
-Gid_t T_NV
Off_t T_NV
Dev_t T_NV
NV T_NV