GDBserver
time.h
Go to the documentation of this file.
1 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
2 /* Provide a more complete sys/time.h.
3 
4  Copyright (C) 2007-2016 Free Software Foundation, Inc.
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 3, or (at your option)
9  any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, see <http://www.gnu.org/licenses/>. */
18 
19 /* Written by Paul Eggert. */
20 
21 #ifndef _GL_SYS_TIME_H
22 
23 #if __GNUC__ >= 3
24 #pragma GCC system_header
25 #endif
26 
27 
28 /* On Cygwin and on many BSDish systems, <sys/time.h> includes itself
29  recursively via <sys/select.h>.
30  Simply delegate to the system's header in this case; it is a no-op.
31  Without this extra ifdef, the C++ gettimeofday declaration below
32  would be a forward declaration in gnulib's nested <sys/time.h>. */
33 #if defined _CYGWIN_SYS_TIME_H || defined _SYS_TIME_H || defined _SYS_TIME_H_
34 # include_next <sys/time.h>
35 #else
36 
37 /* The include_next requires a split double-inclusion guard. */
38 #if 1
39 # include_next <sys/time.h>
40 #endif
41 
42 #ifndef _GL_SYS_TIME_H
43 #define _GL_SYS_TIME_H
44 
45 #if ! 1
46 # include <time.h>
47 #endif
48 
49 /* On native Windows with MSVC, get the 'struct timeval' type.
50  Also, on native Windows with a 64-bit time_t, where we are overriding the
51  'struct timeval' type, get all declarations of system functions whose
52  signature contains 'struct timeval'. */
53 #if (defined _MSC_VER || 0) && 0 && !defined _GL_INCLUDING_WINSOCK2_H
54 # define _GL_INCLUDING_WINSOCK2_H
55 # include <winsock2.h>
56 # undef _GL_INCLUDING_WINSOCK2_H
57 #endif
58 
59 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
60 #ifndef _GL_CXXDEFS_H
61 #define _GL_CXXDEFS_H
62 
63 /* Begin/end the GNULIB_NAMESPACE namespace. */
64 #if defined __cplusplus && defined GNULIB_NAMESPACE
65 # define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE {
66 # define _GL_END_NAMESPACE }
67 #else
68 # define _GL_BEGIN_NAMESPACE
69 # define _GL_END_NAMESPACE
70 #endif
71 
72 /* The three most frequent use cases of these macros are:
73 
74  * For providing a substitute for a function that is missing on some
75  platforms, but is declared and works fine on the platforms on which
76  it exists:
77 
78  #if @GNULIB_FOO@
79  # if !@HAVE_FOO@
80  _GL_FUNCDECL_SYS (foo, ...);
81  # endif
82  _GL_CXXALIAS_SYS (foo, ...);
83  _GL_CXXALIASWARN (foo);
84  #elif defined GNULIB_POSIXCHECK
85  ...
86  #endif
87 
88  * For providing a replacement for a function that exists on all platforms,
89  but is broken/insufficient and needs to be replaced on some platforms:
90 
91  #if @GNULIB_FOO@
92  # if @REPLACE_FOO@
93  # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
94  # undef foo
95  # define foo rpl_foo
96  # endif
97  _GL_FUNCDECL_RPL (foo, ...);
98  _GL_CXXALIAS_RPL (foo, ...);
99  # else
100  _GL_CXXALIAS_SYS (foo, ...);
101  # endif
102  _GL_CXXALIASWARN (foo);
103  #elif defined GNULIB_POSIXCHECK
104  ...
105  #endif
106 
107  * For providing a replacement for a function that exists on some platforms
108  but is broken/insufficient and needs to be replaced on some of them and
109  is additionally either missing or undeclared on some other platforms:
110 
111  #if @GNULIB_FOO@
112  # if @REPLACE_FOO@
113  # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
114  # undef foo
115  # define foo rpl_foo
116  # endif
117  _GL_FUNCDECL_RPL (foo, ...);
118  _GL_CXXALIAS_RPL (foo, ...);
119  # else
120  # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@
121  _GL_FUNCDECL_SYS (foo, ...);
122  # endif
123  _GL_CXXALIAS_SYS (foo, ...);
124  # endif
125  _GL_CXXALIASWARN (foo);
126  #elif defined GNULIB_POSIXCHECK
127  ...
128  #endif
129 */
130 
131 /* _GL_EXTERN_C declaration;
132  performs the declaration with C linkage. */
133 #if defined __cplusplus
134 # define _GL_EXTERN_C extern "C"
135 #else
136 # define _GL_EXTERN_C extern
137 #endif
138 
139 /* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes);
140  declares a replacement function, named rpl_func, with the given prototype,
141  consisting of return type, parameters, and attributes.
142  Example:
143  _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
144  _GL_ARG_NONNULL ((1)));
145  */
146 #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \
147  _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes)
148 #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \
149  _GL_EXTERN_C rettype rpl_func parameters_and_attributes
150 
151 /* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes);
152  declares the system function, named func, with the given prototype,
153  consisting of return type, parameters, and attributes.
154  Example:
155  _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...)
156  _GL_ARG_NONNULL ((1)));
157  */
158 #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \
159  _GL_EXTERN_C rettype func parameters_and_attributes
160 
161 /* _GL_CXXALIAS_RPL (func, rettype, parameters);
162  declares a C++ alias called GNULIB_NAMESPACE::func
163  that redirects to rpl_func, if GNULIB_NAMESPACE is defined.
164  Example:
165  _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
166 
167  Wrapping rpl_func in an object with an inline conversion operator
168  avoids a reference to rpl_func unless GNULIB_NAMESPACE::func is
169  actually used in the program. */
170 #define _GL_CXXALIAS_RPL(func,rettype,parameters) \
171  _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters)
172 #if defined __cplusplus && defined GNULIB_NAMESPACE
173 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \
174  namespace GNULIB_NAMESPACE \
175  { \
176  static const struct _gl_ ## func ## _wrapper \
177  { \
178  typedef rettype (*type) parameters; \
179  inline type rpl () const { return ::rpl_func; } \
180  inline operator type () const { return rpl (); } \
181  } func = {}; \
182  } \
183  _GL_EXTERN_C int _gl_cxxalias_dummy
184 #else
185 # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \
186  _GL_EXTERN_C int _gl_cxxalias_dummy
187 #endif
188 
189 /* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters);
190  is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters);
191  except that the C function rpl_func may have a slightly different
192  declaration. A cast is used to silence the "invalid conversion" error
193  that would otherwise occur. */
194 #if defined __cplusplus && defined GNULIB_NAMESPACE
195 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \
196  namespace GNULIB_NAMESPACE \
197  { \
198  static const struct _gl_ ## func ## _wrapper \
199  { \
200  typedef rettype (*type) parameters; \
201  inline type rpl () const \
202  { return reinterpret_cast<type>(::rpl_func); } \
203  inline operator type () const { return rpl (); } \
204  } func = {}; \
205  } \
206  _GL_EXTERN_C int _gl_cxxalias_dummy
207 #else
208 # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \
209  _GL_EXTERN_C int _gl_cxxalias_dummy
210 #endif
211 
212 /* _GL_CXXALIAS_SYS (func, rettype, parameters);
213  declares a C++ alias called GNULIB_NAMESPACE::func
214  that redirects to the system provided function func, if GNULIB_NAMESPACE
215  is defined.
216  Example:
217  _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
218 
219  Wrapping func in an object with an inline conversion operator
220  avoids a reference to func unless GNULIB_NAMESPACE::func is
221  actually used in the program. */
222 #if defined __cplusplus && defined GNULIB_NAMESPACE
223 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \
224  namespace GNULIB_NAMESPACE \
225  { \
226  static const struct _gl_ ## func ## _wrapper \
227  { \
228  typedef rettype (*type) parameters; \
229  inline type rpl () const { return ::func; } \
230  inline operator type () const { return rpl (); } \
231  } func = {}; \
232  } \
233  _GL_EXTERN_C int _gl_cxxalias_dummy
234 #else
235 # define _GL_CXXALIAS_SYS(func,rettype,parameters) \
236  _GL_EXTERN_C int _gl_cxxalias_dummy
237 #endif
238 
239 /* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters);
240  is like _GL_CXXALIAS_SYS (func, rettype, parameters);
241  except that the C function func may have a slightly different declaration.
242  A cast is used to silence the "invalid conversion" error that would
243  otherwise occur. */
244 #if defined __cplusplus && defined GNULIB_NAMESPACE
245 # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \
246  namespace GNULIB_NAMESPACE \
247  { \
248  static const struct _gl_ ## func ## _wrapper \
249  { \
250  typedef rettype (*type) parameters; \
251  inline type rpl () const \
252  { return reinterpret_cast<type>(::func); } \
253  inline operator type () const { return rpl (); }\
254  } func = {}; \
255  } \
256  _GL_EXTERN_C int _gl_cxxalias_dummy
257 #else
258 # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \
259  _GL_EXTERN_C int _gl_cxxalias_dummy
260 #endif
261 
262 /* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2);
263  is like _GL_CXXALIAS_SYS (func, rettype, parameters);
264  except that the C function is picked among a set of overloaded functions,
265  namely the one with rettype2 and parameters2. Two consecutive casts
266  are used to silence the "cannot find a match" and "invalid conversion"
267  errors that would otherwise occur. */
268 #if defined __cplusplus && defined GNULIB_NAMESPACE
269  /* The outer cast must be a reinterpret_cast.
270  The inner cast: When the function is defined as a set of overloaded
271  functions, it works as a static_cast<>, choosing the designated variant.
272  When the function is defined as a single variant, it works as a
273  reinterpret_cast<>. The parenthesized cast syntax works both ways. */
274 # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \
275  namespace GNULIB_NAMESPACE \
276  { \
277  static const struct _gl_ ## func ## _wrapper \
278  { \
279  typedef rettype (*type) parameters; \
280  \
281  inline type rpl () const \
282  { return reinterpret_cast<type>((rettype2 (*) parameters2)(::func)); }\
283  \
284  inline operator type () const { return rpl (); } \
285  } func = {}; \
286  } \
287  _GL_EXTERN_C int _gl_cxxalias_dummy
288 #else
289 # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \
290  _GL_EXTERN_C int _gl_cxxalias_dummy
291 #endif
292 
293 /* _GL_CXXALIASWARN (func);
294  causes a warning to be emitted when ::func is used but not when
295  GNULIB_NAMESPACE::func is used. func must be defined without overloaded
296  variants. */
297 #if defined __cplusplus && defined GNULIB_NAMESPACE
298 # define _GL_CXXALIASWARN(func) \
299  _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE)
300 # define _GL_CXXALIASWARN_1(func,namespace) \
301  _GL_CXXALIASWARN_2 (func, namespace)
302 /* To work around GCC bug <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>,
303  we enable the warning only when not optimizing. */
304 # if !__OPTIMIZE__
305 # define _GL_CXXALIASWARN_2(func,namespace) \
306  _GL_WARN_ON_USE (func, \
307  "The symbol ::" #func " refers to the system function. " \
308  "Use " #namespace "::" #func " instead.")
309 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
310 # define _GL_CXXALIASWARN_2(func,namespace) \
311  extern __typeof__ (func) func
312 # else
313 # define _GL_CXXALIASWARN_2(func,namespace) \
314  _GL_EXTERN_C int _gl_cxxalias_dummy
315 # endif
316 #else
317 # define _GL_CXXALIASWARN(func) \
318  _GL_EXTERN_C int _gl_cxxalias_dummy
319 #endif
320 
321 /* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes);
322  causes a warning to be emitted when the given overloaded variant of ::func
323  is used but not when GNULIB_NAMESPACE::func is used. */
324 #if defined __cplusplus && defined GNULIB_NAMESPACE
325 # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \
326  _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \
327  GNULIB_NAMESPACE)
328 # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \
329  _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace)
330 /* To work around GCC bug <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>,
331  we enable the warning only when not optimizing. */
332 # if !__OPTIMIZE__
333 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
334  _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \
335  "The symbol ::" #func " refers to the system function. " \
336  "Use " #namespace "::" #func " instead.")
337 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
338 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
339  extern __typeof__ (func) func
340 # else
341 # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
342  _GL_EXTERN_C int _gl_cxxalias_dummy
343 # endif
344 #else
345 # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \
346  _GL_EXTERN_C int _gl_cxxalias_dummy
347 #endif
348 
349 #endif /* _GL_CXXDEFS_H */
350 
351 /* The definition of _GL_ARG_NONNULL is copied here. */
352 /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools
353  that the values passed as arguments n, ..., m must be non-NULL pointers.
354  n = 1 stands for the first argument, n = 2 for the second argument etc. */
355 #ifndef _GL_ARG_NONNULL
356 # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3
357 # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params))
358 # else
359 # define _GL_ARG_NONNULL(params)
360 # endif
361 #endif
362 
363 /* The definition of _GL_WARN_ON_USE is copied here. */
364 #ifndef _GL_WARN_ON_USE
365 
366 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)
367 /* A compiler attribute is available in gcc versions 4.3.0 and later. */
368 # define _GL_WARN_ON_USE(function, message) \
369 extern __typeof__ (function) function __attribute__ ((__warning__ (message)))
370 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
371 /* Verify the existence of the function. */
372 # define _GL_WARN_ON_USE(function, message) \
373 extern __typeof__ (function) function
374 # else /* Unsupported. */
375 # define _GL_WARN_ON_USE(function, message) \
376 _GL_WARN_EXTERN_C int _gl_warn_on_use
377 # endif
378 #endif
379 
380 /* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string")
381  is like _GL_WARN_ON_USE (function, "string"), except that the function is
382  declared with the given prototype, consisting of return type, parameters,
383  and attributes.
384  This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does
385  not work in this case. */
386 #ifndef _GL_WARN_ON_USE_CXX
387 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)
388 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
389 extern rettype function parameters_and_attributes \
390  __attribute__ ((__warning__ (msg)))
391 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
392 /* Verify the existence of the function. */
393 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
394 extern rettype function parameters_and_attributes
395 # else /* Unsupported. */
396 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
397 _GL_WARN_EXTERN_C int _gl_warn_on_use
398 # endif
399 #endif
400 
401 /* _GL_WARN_EXTERN_C declaration;
402  performs the declaration with C linkage. */
403 #ifndef _GL_WARN_EXTERN_C
404 # if defined __cplusplus
405 # define _GL_WARN_EXTERN_C extern "C"
406 # else
407 # define _GL_WARN_EXTERN_C extern
408 # endif
409 #endif
410 
411 #ifdef __cplusplus
412 extern "C" {
413 #endif
414 
415 #if !1 || 0
416 
417 # if 0
418 # define timeval rpl_timeval
419 # endif
420 
421 # if !GNULIB_defined_struct_timeval
422 struct timeval
423 {
424  time_t tv_sec;
425  long int tv_usec;
426 };
427 # define GNULIB_defined_struct_timeval 1
428 # endif
429 
430 #endif
431 
432 #ifdef __cplusplus
433 }
434 #endif
435 
436 #if 1
437 # if 0
438 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
439 # undef gettimeofday
440 # define gettimeofday rpl_gettimeofday
441 # endif
442 _GL_FUNCDECL_RPL (gettimeofday, int,
443  (struct timeval *restrict, void *restrict)
444  _GL_ARG_NONNULL ((1)));
445 _GL_CXXALIAS_RPL (gettimeofday, int,
446  (struct timeval *restrict, void *restrict));
447 # else
448 # if !1
449 _GL_FUNCDECL_SYS (gettimeofday, int,
450  (struct timeval *restrict, void *restrict)
451  _GL_ARG_NONNULL ((1)));
452 # endif
453 /* Need to cast, because on glibc systems, by default, the second argument is
454  struct timezone *. */
455 _GL_CXXALIAS_SYS_CAST (gettimeofday, int,
456  (struct timeval *restrict, void *restrict));
457 # endif
458 _GL_CXXALIASWARN (gettimeofday);
459 # if defined __cplusplus && defined GNULIB_NAMESPACE
460 namespace GNULIB_NAMESPACE {
461  typedef ::timeval
462 #undef timeval
463  timeval;
464 }
465 # endif
466 #elif defined GNULIB_POSIXCHECK
467 # undef gettimeofday
468 # if HAVE_RAW_DECL_GETTIMEOFDAY
469 _GL_WARN_ON_USE (gettimeofday, "gettimeofday is unportable - "
470  "use gnulib module gettimeofday for portability");
471 # endif
472 #endif
473 
474 /* Hide some function declarations from <winsock2.h>. */
475 
476 #if defined _MSC_VER && 0
477 # if !defined _GL_UNISTD_H
478 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
479 # undef close
480 # define close close_used_without_including_unistd_h
481 # else
482  _GL_WARN_ON_USE (close,
483  "close() used without including <unistd.h>");
484 # endif
485 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
486 # undef gethostname
487 # define gethostname gethostname_used_without_including_unistd_h
488 # else
489  _GL_WARN_ON_USE (gethostname,
490  "gethostname() used without including <unistd.h>");
491 # endif
492 # endif
493 # if !defined _GL_SYS_SOCKET_H
494 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
495 # undef socket
496 # define socket socket_used_without_including_sys_socket_h
497 # undef connect
498 # define connect connect_used_without_including_sys_socket_h
499 # undef accept
500 # define accept accept_used_without_including_sys_socket_h
501 # undef bind
502 # define bind bind_used_without_including_sys_socket_h
503 # undef getpeername
504 # define getpeername getpeername_used_without_including_sys_socket_h
505 # undef getsockname
506 # define getsockname getsockname_used_without_including_sys_socket_h
507 # undef getsockopt
508 # define getsockopt getsockopt_used_without_including_sys_socket_h
509 # undef listen
510 # define listen listen_used_without_including_sys_socket_h
511 # undef recv
512 # define recv recv_used_without_including_sys_socket_h
513 # undef send
514 # define send send_used_without_including_sys_socket_h
515 # undef recvfrom
516 # define recvfrom recvfrom_used_without_including_sys_socket_h
517 # undef sendto
518 # define sendto sendto_used_without_including_sys_socket_h
519 # undef setsockopt
520 # define setsockopt setsockopt_used_without_including_sys_socket_h
521 # undef shutdown
522 # define shutdown shutdown_used_without_including_sys_socket_h
523 # else
524  _GL_WARN_ON_USE (socket,
525  "socket() used without including <sys/socket.h>");
526  _GL_WARN_ON_USE (connect,
527  "connect() used without including <sys/socket.h>");
528  _GL_WARN_ON_USE (accept,
529  "accept() used without including <sys/socket.h>");
530  _GL_WARN_ON_USE (bind,
531  "bind() used without including <sys/socket.h>");
532  _GL_WARN_ON_USE (getpeername,
533  "getpeername() used without including <sys/socket.h>");
534  _GL_WARN_ON_USE (getsockname,
535  "getsockname() used without including <sys/socket.h>");
536  _GL_WARN_ON_USE (getsockopt,
537  "getsockopt() used without including <sys/socket.h>");
538  _GL_WARN_ON_USE (listen,
539  "listen() used without including <sys/socket.h>");
540  _GL_WARN_ON_USE (recv,
541  "recv() used without including <sys/socket.h>");
542  _GL_WARN_ON_USE (send,
543  "send() used without including <sys/socket.h>");
544  _GL_WARN_ON_USE (recvfrom,
545  "recvfrom() used without including <sys/socket.h>");
546  _GL_WARN_ON_USE (sendto,
547  "sendto() used without including <sys/socket.h>");
548  _GL_WARN_ON_USE (setsockopt,
549  "setsockopt() used without including <sys/socket.h>");
550  _GL_WARN_ON_USE (shutdown,
551  "shutdown() used without including <sys/socket.h>");
552 # endif
553 # endif
554 # if !defined _GL_SYS_SELECT_H
555 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
556 # undef select
557 # define select select_used_without_including_sys_select_h
558 # else
559  _GL_WARN_ON_USE (select,
560  "select() used without including <sys/select.h>");
561 # endif
562 # endif
563 #endif
564 
565 #endif /* _GL_SYS_TIME_H */
566 #endif /* _CYGWIN_SYS_TIME_H */
567 #endif /* _GL_SYS_TIME_H */
#define _GL_FUNCDECL_RPL(func, rettype, parameters_and_attributes)
Definition: time.h:146
#define _GL_CXXALIAS_SYS_CAST(func, rettype, parameters)
Definition: time.h:258
#define _GL_CXXALIASWARN(func)
Definition: time.h:317
#define _GL_FUNCDECL_SYS(func, rettype, parameters_and_attributes)
Definition: time.h:158
#define _GL_WARN_ON_USE(function, message)
Definition: time.h:375
#define _GL_CXXALIAS_RPL(func, rettype, parameters)
Definition: time.h:170
#define _GL_ARG_NONNULL(params)
Definition: time.h:359
#define restrict
Definition: config.h:1902