summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-08 00:05:44 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-08 00:05:44 +0000
commitbc81784acdb7beadae0cc705ebadbd8f365f30ba (patch)
treea6de6132ac5e4992a490715630246964247142fd /pp.c
parent3658c1f1e67f531ad4ee20e8c748aec14b993c44 (diff)
downloadperl-bc81784acdb7beadae0cc705ebadbd8f365f30ba.tar.gz
Borland's C compiler warns that the & is unnecessary.
p4raw-id: //depot/perl@27127
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pp.c b/pp.c
index d861bf39af..3a66f73022 100644
--- a/pp.c
+++ b/pp.c
@@ -2628,26 +2628,26 @@ PP(pp_sin)
dVAR; dSP; dTARGET;
int amg_type = sin_amg;
const char *neg_report = NULL;
- NV (*func)(NV) = &Perl_sin;
+ NV (*func)(NV) = Perl_sin;
const int op_type = PL_op->op_type;
switch (op_type) {
case OP_COS:
amg_type = cos_amg;
- func = &Perl_cos;
+ func = Perl_cos;
break;
case OP_EXP:
amg_type = exp_amg;
- func = &Perl_exp;
+ func = Perl_exp;
break;
case OP_LOG:
amg_type = log_amg;
- func = &Perl_log;
+ func = Perl_log;
neg_report = "log";
break;
case OP_SQRT:
amg_type = sqrt_amg;
- func = &Perl_sqrt;
+ func = Perl_sqrt;
neg_report = "sqrt";
break;
}