summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-10 09:06:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-10 09:06:42 +0000
commitd8eceb896c98708a63dcc63f7bf202b095342359 (patch)
tree9701b08cb03f36f95bdc3bc268845cf99e36dd6f /proto.h
parent1ff81528d9b685c68d4fe91564f636f46d635496 (diff)
downloadperl-d8eceb896c98708a63dcc63f7bf202b095342359.tar.gz
Gratuitous uid and gid casts to I32s and ints removed.
There are still problem spots in printfing such ids: width (%d vs %ld) and signedness %d vs %u. p4raw-id: //depot/cfgperl@3945
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/proto.h b/proto.h
index bdb0ea0dba..f8096775b9 100644
--- a/proto.h
+++ b/proto.h
@@ -37,7 +37,7 @@ VIRTUAL I32 Perl_block_gimme(pTHX);
VIRTUAL int Perl_block_start(pTHX_ int full);
VIRTUAL void Perl_boot_core_UNIVERSAL(pTHX);
VIRTUAL void Perl_call_list(pTHX_ I32 oldscope, AV* av_list);
-VIRTUAL I32 Perl_cando(pTHX_ I32 bit, I32 effective, Stat_t* statbufp);
+VIRTUAL I32 Perl_cando(pTHX_ I32 bit, Uid_t effective, Stat_t* statbufp);
VIRTUAL U32 Perl_cast_ulong(pTHX_ NV f);
VIRTUAL I32 Perl_cast_i32(pTHX_ NV f);
VIRTUAL IV Perl_cast_iv(pTHX_ NV f);
@@ -197,7 +197,7 @@ VIRTUAL HE* Perl_hv_store_ent(pTHX_ HV* tb, SV* key, SV* val, U32 hash);
VIRTUAL void Perl_hv_undef(pTHX_ HV* tb);
VIRTUAL I32 Perl_ibcmp(pTHX_ const char* a, const char* b, I32 len);
VIRTUAL I32 Perl_ibcmp_locale(pTHX_ const char* a, const char* b, I32 len);
-VIRTUAL I32 Perl_ingroup(pTHX_ I32 testgid, I32 effective);
+VIRTUAL bool Perl_ingroup(pTHX_ Gid_t testgid, Uid_t effective);
VIRTUAL void Perl_init_debugger(pTHX);
VIRTUAL void Perl_init_stacks(pTHX);
VIRTUAL U32 Perl_intro_my(pTHX);
@@ -855,7 +855,6 @@ STATIC regnode* S_reg(pTHX_ I32, I32 *);
STATIC regnode* S_reganode(pTHX_ U8, U32);
STATIC regnode* S_regatom(pTHX_ I32 *);
STATIC regnode* S_regbranch(pTHX_ I32 *, I32);
-STATIC void S_regc(pTHX_ U8, char *);
STATIC void S_reguni(pTHX_ UV, char *, I32*);
STATIC regnode* S_regclass(pTHX);
STATIC regnode* S_regclassutf8(pTHX);