| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 #include <netdb.h> | 6 #include <netdb.h> |
| 7 | 7 |
| 8 struct protoent *getprotobyname(const char *name) { | 8 struct protoent *getprotobyname(const char *name) { |
| 9 return NULL; | 9 return NULL; |
| 10 } | 10 } |
| 11 | 11 |
| 12 struct protoent *getprotobynumber(int n) { |
| 13 return NULL; |
| 14 } |
| 15 |
| 12 int __getprotobyname_r(const char *name, | 16 int __getprotobyname_r(const char *name, |
| 13 struct protoent *result_buf, char *buf, | 17 struct protoent *result_buf, char *buf, |
| 14 size_t buflen, struct protoent **result) | 18 size_t buflen, struct protoent **result) |
| 15 { | 19 { |
| 16 *result = NULL; | 20 *result = NULL; |
| 17 return 1; | 21 return 1; |
| 18 } | 22 } |
| OLD | NEW |