summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go')
-rw-r--r--vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go17
1 files changed, 10 insertions, 7 deletions
diff --git a/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go b/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go
index 83c30a54..d545c30e 100644
--- a/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go
+++ b/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go
@@ -26,9 +26,9 @@ const (
X_MKDTEMP_DECLARED = 0 // stdlib.h:192:1:
X_MKSTEMP_DECLARED = 0 // stdlib.h:196:1:
X_MKTEMP_DECLARED = 0 // stdlib.h:221:1:
- X_Nonnull = 0 // cdefs.h:783:1:
- X_Null_unspecified = 0 // cdefs.h:785:1:
- X_Nullable = 0 // cdefs.h:784:1:
+ X_Nonnull = 0 // cdefs.h:790:1:
+ X_Null_unspecified = 0 // cdefs.h:792:1:
+ X_Nullable = 0 // cdefs.h:791:1:
X_RSIZE_T_DEFINED = 0 // stdlib.h:339:1:
X_RUNE_T_DECLARED = 0 // stdlib.h:47:1:
X_SIZE_T_DECLARED = 0 // stdlib.h:53:1:
@@ -36,7 +36,7 @@ const (
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_WCHAR_T_DECLARED = 0 // stdlib.h:59:1:
- Unix = 1 // <predefined>:337:1:
+ Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -306,12 +306,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Function should not be analyzed.
-// Function or variable should not be sanitized, i.e. by AddressSanitizer.
+// Function or variable should not be sanitized, e.g., by AddressSanitizer.
// GCC has the nosanitize attribute, but as a function attribute only, and
// warns on use as a variable attribute.
// Guard variables and structure members by lock.
+// Alignment builtins for better type checking and improved code generation.
+// Provide fallback versions for other compilers (GCC/Clang < 10):
+
// -
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
//
@@ -583,8 +586,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
// Unusual type definitions.
-// rune_t is declared to be an ``int'' instead of the more natural
-// ``unsigned long'' or ``long''. Two things are happening here. It is not
+// rune_t is declared to be an “int” instead of the more natural
+// “unsigned long” or “long”. Two things are happening here. It is not
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
// it looks like 10646 will be a 31 bit standard. This means that if your
// ints cannot hold 32 bits, you will be in trouble. The reason an int was