(Pedantic) If the file is called `reg_state.h`, the constant should be `REG_STATE_H__` (note the additional underscore).