Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: ports/glibc-compat/src/getprotobyname_r.c

Issue 150413008: Initial support for gambit-scheme v4.7.0 Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Add support for pnacl Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/gambc_ppapi/scm/pi.scm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « ports/gambc_ppapi/scm/pi.scm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698