Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!h.cs.wvu.wvnet.edu!muvms3!hsl001 From: hsl001@muvms3.bitnet Newsgroups: comp.lang.c Subject: Help for a novice Message-ID: <10567@muvms3.bitnet> Date: 6 Dec 89 11:29:49 GMT Organization: Marshall University Lines: 35 I'm a total novice at C. I'm trying to compile a program which has the following code in it: #include #include #include #include #include #include #include extern int errno; long lseek(); int closedir(dirp) register DIR *dirp; { register int result; register int err; if (dirp == 0) { . . . The line causeing the error is "register DIR *dirp;". The error listed is "Line .. Declared argument DIR is missing." Anything which refers to "DIR" or "dirp" in later code is flagged as an error. What's going on? How can I fix this? Anyhelp would be appreciated. ed dzierzak HSL001@MUVMS3 or HSL001%MUVMS3@WVNVMS.WVNET.EDU