]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove "inline" from cmakeconfig.h.in. [skip ci]
authorDenis Ovsienko <[email protected]>
Fri, 15 Mar 2024 13:17:39 +0000 (13:17 +0000)
committerDenis Ovsienko <[email protected]>
Fri, 15 Mar 2024 13:23:03 +0000 (13:23 +0000)
CMake does not define the macro, but that's irrelevant because the
source code does not use it, but that's in turn irrelevant because
inline functions are a part of C99.

Likewise, STDC_HEADERS is never defined.

cmakeconfig.h.in

index a2d690c5c5daa5a639bc6bcedc6cc6daf7ae04ae..fc2dd137cbf178d34e09003c8185e0ba097c26c5 100644 (file)
 /* The size of `void *', as computed by sizeof. */
 #cmakedefine SIZEOF_VOID_P @SIZEOF_VOID_P@
 
 /* The size of `void *', as computed by sizeof. */
 #cmakedefine SIZEOF_VOID_P @SIZEOF_VOID_P@
 
-/* Define to 1 if you have the ANSI C header files. */
-#cmakedefine STDC_HEADERS 1
-
 /* Define to 1 if sys/ethernet.h declares `ether_ntohost' */
 #cmakedefine SYS_ETHERNET_H_DECLARES_ETHER_NTOHOST 1
 
 /* Define to 1 if sys/ethernet.h declares `ether_ntohost' */
 #cmakedefine SYS_ETHERNET_H_DECLARES_ETHER_NTOHOST 1
 
 /* define on AIX to get certain functions */
 #cmakedefine _SUN 1
 
 /* define on AIX to get certain functions */
 #cmakedefine _SUN 1
 
-/* Define as token for inline if inlining supported */
-#cmakedefine inline 1
-
 /* Define to `uint16_t' if u_int16_t not defined. */
 #cmakedefine u_int16_t 1
 
 /* Define to `uint16_t' if u_int16_t not defined. */
 #cmakedefine u_int16_t 1