(svn r2072) Use lengthof() instead of a home brewed version

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
tron 20 years ago
parent 67d2ada020
commit 7340aa5b8e

@ -71,4 +71,4 @@ CommandCallback *_callback_table[] = {
/* 0x14 */ CcTerraform
};
const int _callback_table_count = sizeof (_callback_table) / sizeof (*_callback_table);
const int _callback_table_count = lengthof(_callback_table);

Loading…
Cancel
Save