compatibility change in l_class.h for prototypes in ANSI C
This commit is contained in:
@@ -364,6 +364,10 @@ lint_ptr_conv(from, to)
|
||||
break;
|
||||
}
|
||||
|
||||
if (from == VOID) {
|
||||
/* OK any which way */
|
||||
}
|
||||
else
|
||||
if (from == CHAR) {
|
||||
hwarning("pointer to char may not align correctly for a %s",
|
||||
symbol2str(to));
|
||||
|
||||
Reference in New Issue
Block a user