Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpda!hpcuhb!hpcllla!hpclisp!hpclscu!shankar From: shankar@hpclscu.HP.COM (Shankar Unni) Newsgroups: comp.lang.c Subject: Re: strcpy & declaration of functions Message-ID: <660039@hpclscu.HP.COM> Date: 13 Jun 89 19:58:23 GMT References: <4400001@tdpvax> Organization: Hewlett-Packard Calif. Language Lab Lines: 14 > This is for all you standards nuts out there. When declaring FUNCTIONS > which is better. > extern int atoi(); > or > int atoi(); Both are quite legal. From a purely coding-standard point of view, I use the first form for a function that is not in this compilation unit. I use the second form when it is a forward declaration for a function in this compilation unit. Makes the source a *little* easier to read. ---- Shankar.