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

This commit is contained in:
tron 2005-03-25 20:37:06 +00:00
parent 67d2ada020
commit 7340aa5b8e
1 changed files with 1 additions and 1 deletions

View File

@ -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);