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

Side by Side Diff: native_client_sdk/src/libraries/third_party/newlib-extras/netdb.h

Issue 1167113002: [NaCl SDK] Add include of stdint.h to netdb.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | 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) 1980, 1983, 1988, 1993 2 * Copyright (c) 1980, 1983, 1988, 1993
3 * The Regents of the University of California. All rights reserved. 3 * The Regents of the University of California. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 * From: Id: netdb.h,v 8.9 1996/11/19 08:39:29 vixie Exp $ 53 * From: Id: netdb.h,v 8.9 1996/11/19 08:39:29 vixie Exp $
54 * $FreeBSD: src/include/netdb.h,v 1.23 2002/03/23 17:24:53 imp Exp $ 54 * $FreeBSD: src/include/netdb.h,v 1.23 2002/03/23 17:24:53 imp Exp $
55 */ 55 */
56 56
57 #ifndef _NETDB_H_ 57 #ifndef _NETDB_H_
58 #define _NETDB_H_ 58 #define _NETDB_H_
59 59
60 #include <sys/cdefs.h> 60 #include <sys/cdefs.h>
61 #include <sys/types.h> 61 #include <sys/types.h>
62 #include <machine/ansi.h> 62 #include <machine/ansi.h>
63 #include <stdint.h>
63 #include <stdio.h> 64 #include <stdio.h>
64 65
65 #ifndef __socklen_t_defined 66 #ifndef __socklen_t_defined
66 typedef unsigned int socklen_t; 67 typedef unsigned int socklen_t;
67 #define __socklen_t_defined 1 68 #define __socklen_t_defined 1
68 #endif 69 #endif
69 70
70 #ifdef _BSD_SOCKLEN_T_ 71 #ifdef _BSD_SOCKLEN_T_
71 typedef _BSD_SOCKLEN_T_ socklen_t; 72 typedef _BSD_SOCKLEN_T_ socklen_t;
72 #undef _BSD_SOCKLEN_T_ 73 #undef _BSD_SOCKLEN_T_
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 void _endnethtent(void); 280 void _endnethtent(void);
280 void _setnetdnsent(int); 281 void _setnetdnsent(int);
281 void _endnetdnsent(void); 282 void _endnetdnsent(void);
282 struct hostent * _gethostbynisname(const char *, int); 283 struct hostent * _gethostbynisname(const char *, int);
283 struct hostent * _gethostbynisaddr(const char *, int, int); 284 struct hostent * _gethostbynisaddr(const char *, int, int);
284 void _map_v4v6_address(const char *, char *); 285 void _map_v4v6_address(const char *, char *);
285 void _map_v4v6_hostent(struct hostent *, char **, int *); 286 void _map_v4v6_hostent(struct hostent *, char **, int *);
286 __END_DECLS 287 __END_DECLS
287 288
288 #endif /* !_NETDB_H_ */ 289 #endif /* !_NETDB_H_ */
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698