Replace `char*` with `const char*` in functions arguments
char* as string types. This is OK for C, however, ISO C++ forbids automatic cast of
const char* to
char*, which is very painful when using Cgraph with a C++ compiler. Please change it to
const char* when the argument string is not modified. Notice that casting a
const char* is OK for both languages.