1 |
– |
/* Copyright (c) 1999 Silicon Graphics, Inc. */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ SGI"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* Geometry drawing operations for OpenGL driver. |
6 |
|
*/ |
81 |
|
freestr(gmCurrent[i].gfile); |
82 |
|
} |
83 |
|
} |
84 |
< |
bcopy((char *)gmNext, (char *)gmCurrent, sizeof(gmNext)); |
85 |
< |
bzero((char *)gmNext, sizeof(gmNext)); |
84 |
> |
bcopy((void *)gmNext, (void *)gmCurrent, sizeof(gmNext)); |
85 |
> |
bzero((void *)gmNext, sizeof(gmNext)); |
86 |
|
} |
87 |
|
|
88 |
|
|
196 |
|
} |
197 |
|
FORALLPORT(curportlist, n) /* free old file list */ |
198 |
|
freestr(curportlist[n]); |
199 |
< |
bcopy((char *)newportlist, (char *)curportlist, sizeof(newportlist)); |
200 |
< |
bzero((char *)newportlist, sizeof(newportlist)); |
199 |
> |
bcopy((void *)newportlist, (void *)curportlist, sizeof(newportlist)); |
200 |
> |
bzero((void *)newportlist, sizeof(newportlist)); |
201 |
|
return(gmPortals); /* return GL list id */ |
202 |
|
} |