diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2012-10-05 08:26:40 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2012-10-05 08:26:40 +0100 |
commit | 0c38a575805726e13941c02d1cdf5b6b5c4ded11 (patch) | |
tree | afb16fd6c55c84e1fec0b90e95484e91fba85a54 /win32/win32.h | |
parent | 76445bb00ac5ac3b195e659b56c470daff0d3c7d (diff) | |
download | perl-0c38a575805726e13941c02d1cdf5b6b5c4ded11.tar.gz |
Remove exports of dummy set[ug]id functions on Windows
These are surely not required by anything, and are only stub functions
anyway so can easily be provided locally by anything that really does need
them. Also hide the declarations other than when building the core itself
as per the fix for [perl #114516].
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win32/win32.h b/win32/win32.h index 918b4895c6..489fbf4425 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -261,14 +261,13 @@ START_EXTERN_C /* For UNIX compatibility. */ -extern int setuid(uid_t uid); -extern int setgid(gid_t gid); - #ifdef PERL_CORE extern uid_t getuid(void); extern gid_t getgid(void); extern uid_t geteuid(void); extern gid_t getegid(void); +extern int setuid(uid_t uid); +extern int setgid(gid_t gid); extern int kill(int pid, int sig); extern int killpg(int pid, int sig); #ifndef USE_PERL_SBRK |