[net.micro.mac] GetTrapAddress in Megamax C

jdb@mordor.UUCP (John Bruner) (09/30/85)

The declaration for GetTrapAddress in the (V2.1b) Megamax C header
file <os.h> currently is

	long gettrapaddr();

It should be changed to

	long gettrapaddress();

If you attempt to use GetTrapAddress without making this change
there will be no declaration of the routine, and the compiler will
assume it returns an "int" (16-bit integer).
-- 
  John Bruner (S-1 Project, Lawrence Livermore National Laboratory)
  MILNET: jdb@mordor [jdb@s1-c.ARPA]	(415) 422-0758
  UUCP: ...!ucbvax!dual!mordor!jdb 	...!seismo!mordor!jdb

hamachi@ucbvax.UUCP (10/03/85)

In article <3716@mordor.UUCP> you write:
>The declaration for GetTrapAddress in the (V2.1b) Megamax C header
>file <os.h> currently is
>
>	long gettrapaddr();
>
>It should be changed to
>
>	long gettrapaddress();

Doesn't Megamax C ignore everything past the 10th character of an identifier?
If so, then it doesn't matter if the "ess" is left off, although it certainly
may offend your sense of propriety.