summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2020-12-28 18:04:52 -0800
committerKarl Williamson <khw@cpan.org>2021-01-17 09:18:15 -0700
commit1604cfb0273418ed479719f39def5ee559bffda2 (patch)
tree166a5ab935a029ab86cf6295d6f3cb77da22e559 /plan9
parent557ff1b2a4ecd18fe9229e7e0eb8fa123adc5670 (diff)
downloadperl-1604cfb0273418ed479719f39def5ee559bffda2.tar.gz
style: Detabify indentation of the C code maintained by the core.
This just detabifies to get rid of the mixed tab/space indentation. Applying consistent indentation and dealing with other tabs are another issue. Done with `expand -i`. * vutil.* left alone, it's part of version. * Left regen managed files alone for now.
Diffstat (limited to 'plan9')
-rw-r--r--plan9/plan9.c24
-rw-r--r--plan9/plan9ish.h2
2 files changed, 13 insertions, 13 deletions
diff --git a/plan9/plan9.c b/plan9/plan9.c
index 02ef76c97b..9872306d7e 100644
--- a/plan9/plan9.c
+++ b/plan9/plan9.c
@@ -11,18 +11,18 @@
#define SHIFT 20
int fpclassify(double d) {
- FPdbleword x;
-
- /* order matters: only isNaN can operate on NaN */
- if ( isNaN(d) )
- return FP_NAN;
- else if ( isInf(d, 0) )
- return FP_INFINITE;
- else if ( d == 0 )
- return FP_ZERO;
-
- x.x = fabs(d);
- return (x.hi >> SHIFT) ? FP_NORMAL : FP_SUBNORMAL;
+ FPdbleword x;
+
+ /* order matters: only isNaN can operate on NaN */
+ if ( isNaN(d) )
+ return FP_NAN;
+ else if ( isInf(d, 0) )
+ return FP_INFINITE;
+ else if ( d == 0 )
+ return FP_ZERO;
+
+ x.x = fabs(d);
+ return (x.hi >> SHIFT) ? FP_NORMAL : FP_SUBNORMAL;
}
/* Functions mentioned in /sys/include/ape/sys/socket.h but not implemented */
diff --git a/plan9/plan9ish.h b/plan9/plan9ish.h
index 7fd8c7e5db..a5a318e704 100644
--- a/plan9/plan9ish.h
+++ b/plan9/plan9ish.h
@@ -105,7 +105,7 @@
#define BIT_BUCKET "/dev/null"
#define PERL_SYS_INIT_BODY(c,v) \
- MALLOC_CHECK_TAINT2(*c,*v) PERLIO_INIT; MALLOC_INIT
+ MALLOC_CHECK_TAINT2(*c,*v) PERLIO_INIT; MALLOC_INIT
#define dXSUB_SYS dNOOP
#define PERL_SYS_TERM_BODY() PERLIO_TERM; MALLOC_TERM