xref: /csrg-svn/usr.bin/pascal/libpc/DEFNAME.c (revision 40865)
1*40865Sbostic /*-
2*40865Sbostic  * Copyright (c) 1979 The Regents of the University of California.
3*40865Sbostic  * All rights reserved.
4*40865Sbostic  *
5*40865Sbostic  * %sccs.include.redist.c%
6*40865Sbostic  */
71646Smckusick 
8*40865Sbostic #ifndef lint
9*40865Sbostic static char sccsid[] = "@(#)DEFNAME.c	1.3 (Berkeley) 04/09/90";
10*40865Sbostic #endif /* not lint */
111646Smckusick 
121646Smckusick #include "h00vars.h"
131646Smckusick 
141646Smckusick DEFNAME(filep, name, maxnamlen, datasize)
151646Smckusick 
161646Smckusick 	register struct iorec	*filep;
171646Smckusick 	char			*name;
183000Smckusic 	long			maxnamlen;
193000Smckusic 	long			datasize;
201646Smckusick {
211646Smckusick 	filep = GETNAME(filep, name, maxnamlen, datasize);
221646Smckusick 	filep->funit |= FDEF;
231646Smckusick }
24