Don't typedef the low-level functions structure. Use struct* the two times

where necessary (this avoids confusing Doxygen as well).
This commit is contained in:
mmdolze
2011-12-30 00:20:32 +00:00
parent 1d47d3abc3
commit 092236f518
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ glcd_init(Driver *drvthis)
* Set up low-level functions. These should be overwritten by the
* connection type's init function.
*/
if ((p->glcd_functions = (GLCD_functions *) calloc(1, sizeof(GLCD_functions))) == NULL) {
if ((p->glcd_functions = (struct glcdHwFcns *) calloc(1, sizeof(struct glcdHwFcns))) == NULL) {
report(RPT_ERR, "%s: error mallocing", drvthis->name);
return -1;
}