summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libugly/getprotoent.c
blob: 3f0fd4d4165002549c570ae83ce3a9424fd3f410 (plain)
1
2
3
4
5
6
7
8
9
10
#include <netdb.h>

extern struct protoent __protoent_pw;
extern char __protoent_buf[1000];

struct protoent *getprotoent(void) {
  struct protoent* tmp;
  getprotoent_r(&__protoent_pw,__protoent_buf,sizeof(__protoent_buf),&tmp);
  return tmp;
}