Skip to content
Snippets Groups Projects
Commit fbbbf96c authored by slevy's avatar slevy
Browse files

Remove extra 'extern "C"' gibberish. Just depend on #ifdef __cplusplus to...

Remove extra 'extern "C"' gibberish.  Just depend on #ifdef __cplusplus to know whether to put it in.
parent 7f6fb28e
No related branches found
No related tags found
No related merge requests found
......@@ -32,10 +32,8 @@ extern "C" {
#undef ntohl
#define htonl(x) my_htonl(x)
#define ntohl(x) my_ntohl(x)
extern "C" {
extern unsigned int my_htonl(unsigned int v);
extern unsigned int my_ntohl(unsigned int v);
};
extern unsigned int my_htonl(unsigned int v);
extern unsigned int my_ntohl(unsigned int v);
#ifndef HAVE_STRCASECMP
extern int strcasecmp(const char *s1, const char *s2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment