Changed name of static table versions to avoid conflict.

This commit is contained in:
Joel Sherrill
2000-07-14 18:52:54 +00:00
parent 62e1271aef
commit 4dcd9436d4
3 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ static const struct protoent prototab[] = {
* Dummy version of BSD getprotobyname() * Dummy version of BSD getprotobyname()
*/ */
struct protoent * struct protoent *
getprotobyname (const char *name) getprotobyname_static (const char *name)
{ {
int i; int i;
@@ -34,7 +34,7 @@ getprotobyname (const char *name)
* Dummy version of BSD getprotobynumber() * Dummy version of BSD getprotobynumber()
*/ */
struct protoent * struct protoent *
getprotobynumber (int proto) getprotobynumber_static (int proto)
{ {
int i; int i;

View File

@@ -19,7 +19,7 @@ static const struct protoent prototab[] = {
* Dummy version of BSD getprotobyname() * Dummy version of BSD getprotobyname()
*/ */
struct protoent * struct protoent *
getprotobyname (const char *name) getprotobyname_static (const char *name)
{ {
int i; int i;
@@ -34,7 +34,7 @@ getprotobyname (const char *name)
* Dummy version of BSD getprotobynumber() * Dummy version of BSD getprotobynumber()
*/ */
struct protoent * struct protoent *
getprotobynumber (int proto) getprotobynumber_static (int proto)
{ {
int i; int i;

View File

@@ -19,7 +19,7 @@ static const struct protoent prototab[] = {
* Dummy version of BSD getprotobyname() * Dummy version of BSD getprotobyname()
*/ */
struct protoent * struct protoent *
getprotobyname (const char *name) getprotobyname_static (const char *name)
{ {
int i; int i;
@@ -34,7 +34,7 @@ getprotobyname (const char *name)
* Dummy version of BSD getprotobynumber() * Dummy version of BSD getprotobynumber()
*/ */
struct protoent * struct protoent *
getprotobynumber (int proto) getprotobynumber_static (int proto)
{ {
int i; int i;