codership / wsrep-API

Write Set Replication API specification
GNU General Public License v2.0
26 stars 15 forks source link

rename struct wsrep to struct wsrep_st #22

Closed temeo closed 6 years ago

temeo commented 6 years ago

Struct wsrep will not allow using wsrep namespace in C++ code:

test.cpp:6:1: error: ‘namespace wsrep { }’ redeclared as different kind of symbol
 {
 ^
In file included from test.cpp:2:0:
wsrep_api.h:634:8: note: previous declaration ‘struct wsrep’
 struct wsrep {

Rename struct wsrep to struct wsrep_st to allow using namespace wsrep.