[buddy]
Fix some warnings reported by gcc. * buddy/src/kernel.c (errorstrings): Mark these as const. * buddy/src/reorder.c (reorder_gbc): Fix prototype. (siftTestCmp): Add missing const in cast. (bdd_reorder_auto): Actually call bdd_reorder_ready().
This commit is contained in:
parent
35de7e9008
commit
e5f35dea48
3 changed files with 14 additions and 5 deletions
|
|
@ -117,7 +117,7 @@ static bdd2inthandler resize_handler; /* Node-table-resize handler */
|
|||
|
||||
|
||||
/* Strings for all error mesages */
|
||||
static char *errorstrings[BDD_ERRNUM] =
|
||||
static const char *errorstrings[BDD_ERRNUM] =
|
||||
{ "Out of memory", "Unknown variable", "Value out of range",
|
||||
"Unknown BDD root dereferenced", "bdd_init() called twice",
|
||||
"File operation failed", "Incorrect file format",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue