summaryrefslogtreecommitdiff
path: root/umalloc.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-10 17:17:42 +0000
committerrsc <rsc>2007-08-10 17:17:42 +0000
commitdca5b5ca2e3687f27ebf589fe3855966932840d8 (patch)
tree79be03b3d6f950eb8ceb105449674aaa614bd17e /umalloc.c
parent6861140a667cd7219cf9bc1e051faadfc8c46c6f (diff)
downloadxv6-labs-dca5b5ca2e3687f27ebf589fe3855966932840d8.tar.gz
xv6-labs-dca5b5ca2e3687f27ebf589fe3855966932840d8.tar.bz2
xv6-labs-dca5b5ca2e3687f27ebf589fe3855966932840d8.zip
avoid assignments in declarations
Diffstat (limited to 'umalloc.c')
-rw-r--r--umalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/umalloc.c b/umalloc.c
index 3473c79..30f970d 100644
--- a/umalloc.c
+++ b/umalloc.c
@@ -19,7 +19,7 @@ union header {
typedef union header Header;
static Header base;
-static Header *freep = 0;
+static Header *freep;
void
free(void *ap)