Move error strings out of header, to prevent unused warning

This commit is contained in:
Toby Jaffey 2025-12-06 21:35:00 +00:00
parent 51494ec10d
commit 047c9e3853
2 changed files with 6 additions and 6 deletions

View file

@ -85,12 +85,6 @@ void uvm32_HandleOtherCSRWrite(void *userdata, uint16_t csrno, uint32_t value);
#endif
#include "mini-rv32ima.h"
#define X(name) #name,
static const char *errNames[] = {
LIST_OF_UVM32_ERRS
};
#undef X
typedef enum {
UVM32_STATUS_PAUSED,
UVM32_STATUS_RUNNING,