1/* This file is automatically generated. DO NOT EDIT! */ 2/* Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp */ 3/* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4 5/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ 6/* A substitute for ISO C99 <ctype.h>, for platforms on which it is incomplete. 7 8 Copyright (C) 2009-2022 Free Software Foundation, Inc. 9 10 This file is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Lesser General Public License as 12 published by the Free Software Foundation; either version 2.1 of the 13 License, or (at your option) any later version. 14 15 This file is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Lesser General Public License for more details. 19 20 You should have received a copy of the GNU Lesser General Public License 21 along with this program. If not, see <https://www.gnu.org/licenses/>. */ 22 23/* Written by Bruno Haible. */ 24 25/* 26 * ISO C 99 <ctype.h> for platforms on which it is incomplete. 27 * <https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/ctype.h.html> 28 */ 29 30#ifndef _GL_CTYPE_H 31 32#if __GNUC__ >= 3 33#pragma GCC system_header 34#endif 35 36 37/* Include the original <ctype.h>. */ 38/* The include_next requires a split double-inclusion guard. */ 39#include_next <ctype.h> 40 41#ifndef _GL_CTYPE_H 42#define _GL_CTYPE_H 43 44/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ 45/* C++ compatible function declaration macros. 46 Copyright (C) 2010-2022 Free Software Foundation, Inc. 47 48 This program is free software: you can redistribute it and/or modify it 49 under the terms of the GNU Lesser General Public License as published 50 by the Free Software Foundation; either version 2 of the License, or 51 (at your option) any later version. 52 53 This program is distributed in the hope that it will be useful, 54 but WITHOUT ANY WARRANTY; without even the implied warranty of 55 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 56 Lesser General Public License for more details. 57 58 You should have received a copy of the GNU Lesser General Public License 59 along with this program. If not, see <https://www.gnu.org/licenses/>. */ 60 61#ifndef _GL_CXXDEFS_H 62#define _GL_CXXDEFS_H 63 64/* Begin/end the GNULIB_NAMESPACE namespace. */ 65#if defined __cplusplus && defined GNULIB_NAMESPACE 66# define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE { 67# define _GL_END_NAMESPACE } 68#else 69# define _GL_BEGIN_NAMESPACE 70# define _GL_END_NAMESPACE 71#endif 72 73/* The three most frequent use cases of these macros are: 74 75 * For providing a substitute for a function that is missing on some 76 platforms, but is declared and works fine on the platforms on which 77 it exists: 78 79 #if @GNULIB_FOO@ 80 # if !@HAVE_FOO@ 81 _GL_FUNCDECL_SYS (foo, ...); 82 # endif 83 _GL_CXXALIAS_SYS (foo, ...); 84 _GL_CXXALIASWARN (foo); 85 #elif defined GNULIB_POSIXCHECK 86 ... 87 #endif 88 89 * For providing a replacement for a function that exists on all platforms, 90 but is broken/insufficient and needs to be replaced on some platforms: 91 92 #if @GNULIB_FOO@ 93 # if @REPLACE_FOO@ 94 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 95 # undef foo 96 # define foo rpl_foo 97 # endif 98 _GL_FUNCDECL_RPL (foo, ...); 99 _GL_CXXALIAS_RPL (foo, ...); 100 # else 101 _GL_CXXALIAS_SYS (foo, ...); 102 # endif 103 _GL_CXXALIASWARN (foo); 104 #elif defined GNULIB_POSIXCHECK 105 ... 106 #endif 107 108 * For providing a replacement for a function that exists on some platforms 109 but is broken/insufficient and needs to be replaced on some of them and 110 is additionally either missing or undeclared on some other platforms: 111 112 #if @GNULIB_FOO@ 113 # if @REPLACE_FOO@ 114 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) 115 # undef foo 116 # define foo rpl_foo 117 # endif 118 _GL_FUNCDECL_RPL (foo, ...); 119 _GL_CXXALIAS_RPL (foo, ...); 120 # else 121 # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ 122 _GL_FUNCDECL_SYS (foo, ...); 123 # endif 124 _GL_CXXALIAS_SYS (foo, ...); 125 # endif 126 _GL_CXXALIASWARN (foo); 127 #elif defined GNULIB_POSIXCHECK 128 ... 129 #endif 130*/ 131 132/* _GL_EXTERN_C declaration; 133 performs the declaration with C linkage. */ 134#if defined __cplusplus 135# define _GL_EXTERN_C extern "C" 136#else 137# define _GL_EXTERN_C extern 138#endif 139 140/* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); 141 declares a replacement function, named rpl_func, with the given prototype, 142 consisting of return type, parameters, and attributes. 143 Example: 144 _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) 145 _GL_ARG_NONNULL ((1))); 146 */ 147#define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ 148 _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) 149#define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ 150 _GL_EXTERN_C rettype rpl_func parameters_and_attributes 151 152/* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); 153 declares the system function, named func, with the given prototype, 154 consisting of return type, parameters, and attributes. 155 Example: 156 _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...) 157 _GL_ARG_NONNULL ((1))); 158 */ 159#define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ 160 _GL_EXTERN_C rettype func parameters_and_attributes 161 162/* _GL_CXXALIAS_RPL (func, rettype, parameters); 163 declares a C++ alias called GNULIB_NAMESPACE::func 164 that redirects to rpl_func, if GNULIB_NAMESPACE is defined. 165 Example: 166 _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); 167 168 Wrapping rpl_func in an object with an inline conversion operator 169 avoids a reference to rpl_func unless GNULIB_NAMESPACE::func is 170 actually used in the program. */ 171#define _GL_CXXALIAS_RPL(func,rettype,parameters) \ 172 _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) 173#if defined __cplusplus && defined GNULIB_NAMESPACE 174# define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ 175 namespace GNULIB_NAMESPACE \ 176 { \ 177 static const struct _gl_ ## func ## _wrapper \ 178 { \ 179 typedef rettype (*type) parameters; \ 180 \ 181 inline operator type () const \ 182 { \ 183 return ::rpl_func; \ 184 } \ 185 } func = {}; \ 186 } \ 187 _GL_EXTERN_C int _gl_cxxalias_dummy 188#else 189# define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ 190 _GL_EXTERN_C int _gl_cxxalias_dummy 191#endif 192 193/* _GL_CXXALIAS_MDA (func, rettype, parameters); 194 is to be used when func is a Microsoft deprecated alias, on native Windows. 195 It declares a C++ alias called GNULIB_NAMESPACE::func 196 that redirects to _func, if GNULIB_NAMESPACE is defined. 197 Example: 198 _GL_CXXALIAS_MDA (open, int, (const char *filename, int flags, ...)); 199 */ 200#define _GL_CXXALIAS_MDA(func,rettype,parameters) \ 201 _GL_CXXALIAS_RPL_1 (func, _##func, rettype, parameters) 202 203/* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); 204 is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); 205 except that the C function rpl_func may have a slightly different 206 declaration. A cast is used to silence the "invalid conversion" error 207 that would otherwise occur. */ 208#if defined __cplusplus && defined GNULIB_NAMESPACE 209# define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ 210 namespace GNULIB_NAMESPACE \ 211 { \ 212 static const struct _gl_ ## func ## _wrapper \ 213 { \ 214 typedef rettype (*type) parameters; \ 215 \ 216 inline operator type () const \ 217 { \ 218 return reinterpret_cast<type>(::rpl_func); \ 219 } \ 220 } func = {}; \ 221 } \ 222 _GL_EXTERN_C int _gl_cxxalias_dummy 223#else 224# define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ 225 _GL_EXTERN_C int _gl_cxxalias_dummy 226#endif 227 228/* _GL_CXXALIAS_MDA_CAST (func, rettype, parameters); 229 is like _GL_CXXALIAS_MDA (func, rettype, parameters); 230 except that the C function func may have a slightly different declaration. 231 A cast is used to silence the "invalid conversion" error that would 232 otherwise occur. */ 233#define _GL_CXXALIAS_MDA_CAST(func,rettype,parameters) \ 234 _GL_CXXALIAS_RPL_CAST_1 (func, _##func, rettype, parameters) 235 236/* _GL_CXXALIAS_SYS (func, rettype, parameters); 237 declares a C++ alias called GNULIB_NAMESPACE::func 238 that redirects to the system provided function func, if GNULIB_NAMESPACE 239 is defined. 240 Example: 241 _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); 242 243 Wrapping func in an object with an inline conversion operator 244 avoids a reference to func unless GNULIB_NAMESPACE::func is 245 actually used in the program. */ 246#if defined __cplusplus && defined GNULIB_NAMESPACE 247# define _GL_CXXALIAS_SYS(func,rettype,parameters) \ 248 namespace GNULIB_NAMESPACE \ 249 { \ 250 static const struct _gl_ ## func ## _wrapper \ 251 { \ 252 typedef rettype (*type) parameters; \ 253 \ 254 inline operator type () const \ 255 { \ 256 return ::func; \ 257 } \ 258 } func = {}; \ 259 } \ 260 _GL_EXTERN_C int _gl_cxxalias_dummy 261#else 262# define _GL_CXXALIAS_SYS(func,rettype,parameters) \ 263 _GL_EXTERN_C int _gl_cxxalias_dummy 264#endif 265 266/* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); 267 is like _GL_CXXALIAS_SYS (func, rettype, parameters); 268 except that the C function func may have a slightly different declaration. 269 A cast is used to silence the "invalid conversion" error that would 270 otherwise occur. */ 271#if defined __cplusplus && defined GNULIB_NAMESPACE 272# define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ 273 namespace GNULIB_NAMESPACE \ 274 { \ 275 static const struct _gl_ ## func ## _wrapper \ 276 { \ 277 typedef rettype (*type) parameters; \ 278 \ 279 inline operator type () const \ 280 { \ 281 return reinterpret_cast<type>(::func); \ 282 } \ 283 } func = {}; \ 284 } \ 285 _GL_EXTERN_C int _gl_cxxalias_dummy 286#else 287# define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ 288 _GL_EXTERN_C int _gl_cxxalias_dummy 289#endif 290 291/* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); 292 is like _GL_CXXALIAS_SYS (func, rettype, parameters); 293 except that the C function is picked among a set of overloaded functions, 294 namely the one with rettype2 and parameters2. Two consecutive casts 295 are used to silence the "cannot find a match" and "invalid conversion" 296 errors that would otherwise occur. */ 297#if defined __cplusplus && defined GNULIB_NAMESPACE 298 /* The outer cast must be a reinterpret_cast. 299 The inner cast: When the function is defined as a set of overloaded 300 functions, it works as a static_cast<>, choosing the designated variant. 301 When the function is defined as a single variant, it works as a 302 reinterpret_cast<>. The parenthesized cast syntax works both ways. */ 303# define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ 304 namespace GNULIB_NAMESPACE \ 305 { \ 306 static const struct _gl_ ## func ## _wrapper \ 307 { \ 308 typedef rettype (*type) parameters; \ 309 \ 310 inline operator type () const \ 311 { \ 312 return reinterpret_cast<type>((rettype2 (*) parameters2)(::func)); \ 313 } \ 314 } func = {}; \ 315 } \ 316 _GL_EXTERN_C int _gl_cxxalias_dummy 317#else 318# define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ 319 _GL_EXTERN_C int _gl_cxxalias_dummy 320#endif 321 322/* _GL_CXXALIASWARN (func); 323 causes a warning to be emitted when ::func is used but not when 324 GNULIB_NAMESPACE::func is used. func must be defined without overloaded 325 variants. */ 326#if defined __cplusplus && defined GNULIB_NAMESPACE 327# define _GL_CXXALIASWARN(func) \ 328 _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) 329# define _GL_CXXALIASWARN_1(func,namespace) \ 330 _GL_CXXALIASWARN_2 (func, namespace) 331/* To work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>, 332 we enable the warning only when not optimizing. */ 333# if !(defined __GNUC__ && !defined __clang__ && __OPTIMIZE__) 334# define _GL_CXXALIASWARN_2(func,namespace) \ 335 _GL_WARN_ON_USE (func, \ 336 "The symbol ::" #func " refers to the system function. " \ 337 "Use " #namespace "::" #func " instead.") 338# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 339# define _GL_CXXALIASWARN_2(func,namespace) \ 340 extern __typeof__ (func) func 341# else 342# define _GL_CXXALIASWARN_2(func,namespace) \ 343 _GL_EXTERN_C int _gl_cxxalias_dummy 344# endif 345#else 346# define _GL_CXXALIASWARN(func) \ 347 _GL_EXTERN_C int _gl_cxxalias_dummy 348#endif 349 350/* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); 351 causes a warning to be emitted when the given overloaded variant of ::func 352 is used but not when GNULIB_NAMESPACE::func is used. */ 353#if defined __cplusplus && defined GNULIB_NAMESPACE 354# define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ 355 _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ 356 GNULIB_NAMESPACE) 357# define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ 358 _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) 359/* To work around GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43881>, 360 we enable the warning only when not optimizing. */ 361# if !(defined __GNUC__ && !defined __clang__ && __OPTIMIZE__) 362# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ 363 _GL_WARN_ON_USE_CXX (func, rettype, rettype, parameters_and_attributes, \ 364 "The symbol ::" #func " refers to the system function. " \ 365 "Use " #namespace "::" #func " instead.") 366# else 367# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ 368 _GL_EXTERN_C int _gl_cxxalias_dummy 369# endif 370#else 371# define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ 372 _GL_EXTERN_C int _gl_cxxalias_dummy 373#endif 374 375#endif /* _GL_CXXDEFS_H */ 376 377/* The definition of _GL_WARN_ON_USE is copied here. */ 378/* A C macro for emitting warnings if a function is used. 379 Copyright (C) 2010-2022 Free Software Foundation, Inc. 380 381 This program is free software: you can redistribute it and/or modify it 382 under the terms of the GNU Lesser General Public License as published 383 by the Free Software Foundation; either version 2 of the License, or 384 (at your option) any later version. 385 386 This program is distributed in the hope that it will be useful, 387 but WITHOUT ANY WARRANTY; without even the implied warranty of 388 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 389 Lesser General Public License for more details. 390 391 You should have received a copy of the GNU Lesser General Public License 392 along with this program. If not, see <https://www.gnu.org/licenses/>. */ 393 394/* _GL_WARN_ON_USE (function, "literal string") issues a declaration 395 for FUNCTION which will then trigger a compiler warning containing 396 the text of "literal string" anywhere that function is called, if 397 supported by the compiler. If the compiler does not support this 398 feature, the macro expands to an unused extern declaration. 399 400 _GL_WARN_ON_USE_ATTRIBUTE ("literal string") expands to the 401 attribute used in _GL_WARN_ON_USE. If the compiler does not support 402 this feature, it expands to empty. 403 404 These macros are useful for marking a function as a potential 405 portability trap, with the intent that "literal string" include 406 instructions on the replacement function that should be used 407 instead. 408 _GL_WARN_ON_USE is for functions with 'extern' linkage. 409 _GL_WARN_ON_USE_ATTRIBUTE is for functions with 'static' or 'inline' 410 linkage. 411 412 However, one of the reasons that a function is a portability trap is 413 if it has the wrong signature. Declaring FUNCTION with a different 414 signature in C is a compilation error, so this macro must use the 415 same type as any existing declaration so that programs that avoid 416 the problematic FUNCTION do not fail to compile merely because they 417 included a header that poisoned the function. But this implies that 418 _GL_WARN_ON_USE is only safe to use if FUNCTION is known to already 419 have a declaration. Use of this macro implies that there must not 420 be any other macro hiding the declaration of FUNCTION; but 421 undefining FUNCTION first is part of the poisoning process anyway 422 (although for symbols that are provided only via a macro, the result 423 is a compilation error rather than a warning containing 424 "literal string"). Also note that in C++, it is only safe to use if 425 FUNCTION has no overloads. 426 427 For an example, it is possible to poison 'getline' by: 428 - adding a call to gl_WARN_ON_USE_PREPARE([[#include <stdio.h>]], 429 [getline]) in configure.ac, which potentially defines 430 HAVE_RAW_DECL_GETLINE 431 - adding this code to a header that wraps the system <stdio.h>: 432 #undef getline 433 #if HAVE_RAW_DECL_GETLINE 434 _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" 435 "not universally present; use the gnulib module getline"); 436 #endif 437 438 It is not possible to directly poison global variables. But it is 439 possible to write a wrapper accessor function, and poison that 440 (less common usage, like &environ, will cause a compilation error 441 rather than issue the nice warning, but the end result of informing 442 the developer about their portability problem is still achieved): 443 #if HAVE_RAW_DECL_ENVIRON 444 static char *** 445 rpl_environ (void) { return &environ; } 446 _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); 447 # undef environ 448 # define environ (*rpl_environ ()) 449 #endif 450 or better (avoiding contradictory use of 'static' and 'extern'): 451 #if HAVE_RAW_DECL_ENVIRON 452 static char *** 453 _GL_WARN_ON_USE_ATTRIBUTE ("environ is not always properly declared") 454 rpl_environ (void) { return &environ; } 455 # undef environ 456 # define environ (*rpl_environ ()) 457 #endif 458 */ 459#ifndef _GL_WARN_ON_USE 460 461# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) 462/* A compiler attribute is available in gcc versions 4.3.0 and later. */ 463# define _GL_WARN_ON_USE(function, message) \ 464_GL_WARN_EXTERN_C __typeof__ (function) function __attribute__ ((__warning__ (message))) 465# define _GL_WARN_ON_USE_ATTRIBUTE(message) \ 466 __attribute__ ((__warning__ (message))) 467# elif __clang_major__ >= 4 468/* Another compiler attribute is available in clang. */ 469# define _GL_WARN_ON_USE(function, message) \ 470_GL_WARN_EXTERN_C __typeof__ (function) function \ 471 __attribute__ ((__diagnose_if__ (1, message, "warning"))) 472# define _GL_WARN_ON_USE_ATTRIBUTE(message) \ 473 __attribute__ ((__diagnose_if__ (1, message, "warning"))) 474# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 475/* Verify the existence of the function. */ 476# define _GL_WARN_ON_USE(function, message) \ 477_GL_WARN_EXTERN_C __typeof__ (function) function 478# define _GL_WARN_ON_USE_ATTRIBUTE(message) 479# else /* Unsupported. */ 480# define _GL_WARN_ON_USE(function, message) \ 481_GL_WARN_EXTERN_C int _gl_warn_on_use 482# define _GL_WARN_ON_USE_ATTRIBUTE(message) 483# endif 484#endif 485 486/* _GL_WARN_ON_USE_CXX (function, rettype_gcc, rettype_clang, parameters_and_attributes, "message") 487 is like _GL_WARN_ON_USE (function, "message"), except that in C++ mode the 488 function is declared with the given prototype, consisting of return type, 489 parameters, and attributes. 490 This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does 491 not work in this case. */ 492#ifndef _GL_WARN_ON_USE_CXX 493# if !defined __cplusplus 494# define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ 495 _GL_WARN_ON_USE (function, msg) 496# else 497# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) 498/* A compiler attribute is available in gcc versions 4.3.0 and later. */ 499# define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ 500extern rettype_gcc function parameters_and_attributes \ 501 __attribute__ ((__warning__ (msg))) 502# elif __clang_major__ >= 4 503/* Another compiler attribute is available in clang. */ 504# define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ 505extern rettype_clang function parameters_and_attributes \ 506 __attribute__ ((__diagnose_if__ (1, msg, "warning"))) 507# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 508/* Verify the existence of the function. */ 509# define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ 510extern rettype_gcc function parameters_and_attributes 511# else /* Unsupported. */ 512# define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ 513_GL_WARN_EXTERN_C int _gl_warn_on_use 514# endif 515# endif 516#endif 517 518/* _GL_WARN_EXTERN_C declaration; 519 performs the declaration with C linkage. */ 520#ifndef _GL_WARN_EXTERN_C 521# if defined __cplusplus 522# define _GL_WARN_EXTERN_C extern "C" 523# else 524# define _GL_WARN_EXTERN_C extern 525# endif 526#endif 527 528/* Return non-zero if c is a blank, i.e. a space or tab character. */ 529#if 1 530# if !1 531_GL_EXTERN_C int isblank (int c); 532# endif 533#elif defined GNULIB_POSIXCHECK 534# undef isblank 535# if HAVE_RAW_DECL_ISBLANK 536_GL_WARN_ON_USE (isblank, "isblank is unportable - " 537 "use gnulib module isblank for portability"); 538# endif 539#endif 540 541#endif /* _GL_CTYPE_H */ 542#endif /* _GL_CTYPE_H */ 543