CONTENTS | INDEX | PREV | NEXT
PROTOTYPING IS MANDATORY
You MUST supply prototypes for all procedure calls, this is how
DICE determines what registers to put things into. The prototypes
must match the actual function declarations.
When making amiga library calls, such as Open(), FindTask(),
OpenWindow(), etc..., you must include the appropriate amiga
prototype file in dinclude:amiga/clib/ .. for example,
#include <clib/intuition_protos.h>
It is STRONGLY SUGGESTED that you use the -proto option to DCC
to ensure all your calls have been prototyped. For c.lib
functions the appropriate #includes must be made, such as
<stdio.h>, <stdlib.h>, <fcntl.h>, and <string.h>