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:
1 parent
1d47d3abc3
commit
092236f518
2 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user