ifndef __STDIO_H__ __STDIO_H__ equ 0 .code gets proto,:dword puts proto,:dword print proto,off:dword fprint proto,dev:byte,off:dword printxy proto,x:word,y:word,off:dword printf proto,str1:dword,args:vararg vprintf proto,str1:dword,args:dword fprintf proto,dev:byte,str1:dword,args:vararg vfprintf proto,dev:byte,str1:dword,args:dword sprintf proto,dest:dword,src:dword,args:vararg vsprintf proto,dest:dword,src:dword,args:dword scanf proto,src:dword,args:vararg sscanf proto,dest:dword,src:dword,args:vararg _printf_siz proto,str1:dword,args:vararg _vprintf_siz proto,str1:dword,args:dword stdin equ 0 stdout equ 1 stderr equ 2 stdaux equ 3 stdprn equ 4 ;unlink is defined in DOS.inc and STDIO.inc (so I don't want two proto's) ;or else for some reason MASM places it in the OBJ file as an EXTERN ;and then LIB granularity is destroyed ifndef __DOS_H__ unlink proto,strg:dword endif endif