home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d1xx
/
d183
/
mklib
/
ed.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-02-25
|
454b
|
38 lines
/* this is a test library */
#include <exec/types.h>
char myname[] = "mylib.library";
char myid[] = "mylib 1.0 (23 Oct 1986)\r\n";
LONG GetDown()
{
return (77);
}
ULONG Double(arg)
ULONG arg;
{
return (2 * arg);
}
LONG Triple(arg)
LONG arg;
{
arg *= 3;
return ((LONG)arg);
}
LONG Add(apples,oranges)
LONG apples,oranges;
{
return(apples+oranges);
}
LONG Sum(a,b,c,d,e,f)
LONG a,b,c,d,e,f;
{
return(a+b+c+d+e+f);
}