Forgot to add an 'extern "C"' to the R5 compatibility exports.

This fixes bug #892.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19029 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-10-08 11:05:49 +00:00
parent 61edba289e
commit 66a1b50b01
+10 -8
View File
@@ -17,14 +17,16 @@
struct net_settings;
int _netstat(int fd, char **output, int verbose);
int closesocket(int socket);
char *find_net_setting(net_settings* settings, const char* heading,
const char* name, char* value, unsigned numBytes);
status_t set_net_setting(net_settings* settings, const char* heading,
const char* name, const char* value);
int getusername(char *user, size_t bufferLength);
int getpassword(char *password, size_t bufferLength);
extern "C" {
int _netstat(int fd, char **output, int verbose);
int closesocket(int socket);
char *find_net_setting(net_settings* settings, const char* heading,
const char* name, char* value, unsigned numBytes);
status_t set_net_setting(net_settings* settings, const char* heading,
const char* name, const char* value);
int getusername(char *user, size_t bufferLength);
int getpassword(char *password, size_t bufferLength);
}
int