Path: utzoo!attcan!uunet!mcvax!botter!star.cs.vu.nl!ast From: ast@cs.vu.nl (Andy Tanenbaum) Newsgroups: comp.os.minix Subject: Re: lib/malloc.c change request Keywords: cc1.2 variable scope bug Message-ID: <809@ast.cs.vu.nl> Date: 19 Jun 88 15:01:11 GMT References: <2686@ttidca.TTI.COM> Reply-To: ast@cs.vu.nl (Andy Tanenbaum) Organization: VU Informatica, Amsterdam Lines: 10 In article <2686@ttidca.TTI.COM> clark@ttidca.TTI.COM (Ralph Clark) writes: >static variable declarations do not override global declarations in >other files, and cause the similar name to be multiply defined. I think the bug is that static is exported beyond the file, which it shouldn't be. I'll change top, bottom and empty in malloc to _top, _bottom, and _empty. Andy Tanenbaum (ast@cs.vu.nl) -- Andy Tanenbaum (ast@cs.vu.nl)