Updates to includes for scsi & usbhardware.
[cake.git] / rom / graphics / freedbufinfo.c
blob6509d72aaf800bd64cbc077cd10c5175c188b9d4
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 #include "graphics_intern.h"
11 /*****************************************************************************
13 NAME */
15 #include <graphics/view.h>
16 #include <proto/exec.h>
18 AROS_LH1(VOID, FreeDBufInfo,
20 /* SYNOPSIS */
22 AROS_LHA(struct DBufInfo *, db, A1),
24 /* LOCATION */
26 struct GfxBase *, GfxBase, 162, Graphics)
28 /* FUNCTION
30 Frees structure allocated with AllocDBufInfo().
32 INPUTS
34 RESULTS
36 Frees memory occupied by 'db'; ('db' may be NULL, in that case nothing
37 is done).
39 NOTES
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 AllocDBufInfo(), ChangeVPBitMap()
49 INTERNALS
51 HISTORY
53 ******************************************************************************/
56 AROS_LIBFUNC_INIT
58 if(db == NULL) return;
60 FreeMem(db, sizeof(struct DBufInfo));
62 AROS_LIBFUNC_EXIT
63 } /* FreeDBufInfo */