missing this symbol caused a library to not load. implementation taken from old/compat/libnet/netconfig.c, after removing printf.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24301 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Andrew Bachmann 2008-03-08 12:14:13 +00:00
parent 2c184b20ed
commit b0f0bffa32

View File

@ -30,6 +30,7 @@ extern "C" {
const char* name, const char* value);
int getusername(char *user, size_t bufferLength);
int getpassword(char *password, size_t bufferLength);
char *_netconfig_find(const char *heaading, const char *name, char *value, int nbytes);
}
@ -118,3 +119,9 @@ getpassword(char *password, size_t length)
return strlen(password);
}
char *
_netconfig_find(const char *heading, const char *name, char *value, int nbytes)
{
return find_net_setting(NULL, heading, name, value, nbytes);
}