summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/utime
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-08-13 16:14:26 +0200
committerGitHub <noreply@github.com>2022-08-13 16:14:26 +0200
commit6a3fc713978a0c1c9290a4afd08b47886b49b635 (patch)
treeaa62cd85cf5671646c75ee38b3fc140ef7edcea8 /vendor/modernc.org/libc/utime
parent3c4192ebf6a32e30cdd23a9644c2ceca72a006fa (diff)
downloadmatterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.gz
matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.bz2
matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.zip
Update dependencies and go1.18 (#1873)
* Update dependencies and go1.18 * Exclude unnecessary linters and update build to go1.18
Diffstat (limited to 'vendor/modernc.org/libc/utime')
-rw-r--r--vendor/modernc.org/libc/utime/capi_darwin_arm64.go2
-rw-r--r--vendor/modernc.org/libc/utime/capi_linux_amd64.go2
-rw-r--r--vendor/modernc.org/libc/utime/utime_darwin_arm64.go78
-rw-r--r--vendor/modernc.org/libc/utime/utime_linux_amd64.go32
4 files changed, 64 insertions, 50 deletions
diff --git a/vendor/modernc.org/libc/utime/capi_darwin_arm64.go b/vendor/modernc.org/libc/utime/capi_darwin_arm64.go
index 372f430d..a35118cd 100644
--- a/vendor/modernc.org/libc/utime/capi_darwin_arm64.go
+++ b/vendor/modernc.org/libc/utime/capi_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo utime/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o utime/utime_darwin_arm64.go -pkgname utime', DO NOT EDIT.
+// Code generated by 'ccgo utime/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o utime/utime_darwin_arm64.go -pkgname utime', DO NOT EDIT.
package utime
diff --git a/vendor/modernc.org/libc/utime/capi_linux_amd64.go b/vendor/modernc.org/libc/utime/capi_linux_amd64.go
index 381f6bcc..8f7c87f4 100644
--- a/vendor/modernc.org/libc/utime/capi_linux_amd64.go
+++ b/vendor/modernc.org/libc/utime/capi_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo utime/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o utime/utime_linux_amd64.go -pkgname utime', DO NOT EDIT.
+// Code generated by 'ccgo utime/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o utime/utime_linux_amd64.go -pkgname utime', DO NOT EDIT.
package utime
diff --git a/vendor/modernc.org/libc/utime/utime_darwin_arm64.go b/vendor/modernc.org/libc/utime/utime_darwin_arm64.go
index e88bf53c..4705ddcf 100644
--- a/vendor/modernc.org/libc/utime/utime_darwin_arm64.go
+++ b/vendor/modernc.org/libc/utime/utime_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo utime/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o utime/utime_darwin_arm64.go -pkgname utime', DO NOT EDIT.
+// Code generated by 'ccgo utime/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o utime/utime_darwin_arm64.go -pkgname utime', DO NOT EDIT.
package utime
@@ -15,37 +15,37 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- X_ARM_MACHTYPES_H_ = 0
- X_BSD_ARM__TYPES_H_ = 0
- X_BSD_MACHINE_TYPES_H_ = 0
- X_BSD_MACHINE__TYPES_H_ = 0
- X_CDEFS_H_ = 0
- X_DARWIN_FEATURE_64_BIT_INODE = 1
- X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1
- X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
- X_DARWIN_FEATURE_ONLY_VERS_1050 = 1
- X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
- X_FILE_OFFSET_BITS = 64
- X_FORTIFY_SOURCE = 2
- X_INT16_T = 0
- X_INT32_T = 0
- X_INT64_T = 0
- X_INT8_T = 0
- X_INTPTR_T = 0
- X_LP64 = 1
- X_MACHTYPES_H_ = 0
- X_Nonnull = 0
- X_Null_unspecified = 0
- X_Nullable = 0
- X_SYS__PTHREAD_TYPES_H_ = 0
- X_SYS__TYPES_H_ = 0
- X_TIME_T = 0
- X_UINTPTR_T = 0
- X_UTIME_H_ = 0
- X_U_INT16_T = 0
- X_U_INT32_T = 0
- X_U_INT64_T = 0
- X_U_INT8_T = 0
+ X_ARM_MACHTYPES_H_ = 0 // types.h:43:1:
+ X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1:
+ X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
+ X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
+ X_CDEFS_H_ = 0 // cdefs.h:68:1:
+ X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
+ X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
+ X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
+ X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
+ X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_FORTIFY_SOURCE = 2 // _types.h:65:1:
+ X_INT16_T = 0 // _int16_t.h:29:1:
+ X_INT32_T = 0 // _int32_t.h:29:1:
+ X_INT64_T = 0 // _int64_t.h:29:1:
+ X_INT8_T = 0 // _int8_t.h:29:1:
+ X_INTPTR_T = 0 // _intptr_t.h:29:1:
+ X_LP64 = 1 // <predefined>:1:1:
+ X_MACHTYPES_H_ = 0 // types.h:44:1:
+ X_Nonnull = 0 // cdefs.h:268:1:
+ X_Null_unspecified = 0 // cdefs.h:271:1:
+ X_Nullable = 0 // cdefs.h:265:1:
+ X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
+ X_SYS__TYPES_H_ = 0 // _types.h:30:1:
+ X_TIME_T = 0 // _time_t.h:29:1:
+ X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
+ X_UTIME_H_ = 0 // utime.h:59:1:
+ X_U_INT16_T = 0 // _u_int16_t.h:29:1:
+ X_U_INT32_T = 0 // _u_int32_t.h:29:1:
+ X_U_INT64_T = 0 // _u_int64_t.h:29:1:
+ X_U_INT8_T = 0 // _u_int8_t.h:29:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -532,6 +532,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
// used from other compilation units, but not other libraries or executables.
+// We intentionally define to nothing pointer attributes which do not have an
+// impact on the ABI. __indexable and __bidi_indexable are not defined because
+// of the ABI incompatibility that makes the diagnostic preferable.
+
+// Similarly, we intentionally define to nothing the
+// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
+// macros because they do not lead to an ABI incompatibility. However, we do not
+// define the indexable and unsafe_indexable ones because the diagnostic is
+// better than the silent ABI break.
+
+// __unsafe_forge intrinsics are defined as regular C casts.
+
+// decay operates normally; attribute is meaningless without pointer checks.
+
// Architecture validation for current SDK
// Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
diff --git a/vendor/modernc.org/libc/utime/utime_linux_amd64.go b/vendor/modernc.org/libc/utime/utime_linux_amd64.go
index 049de230..a9995de5 100644
--- a/vendor/modernc.org/libc/utime/utime_linux_amd64.go
+++ b/vendor/modernc.org/libc/utime/utime_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo utime/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o utime/utime_linux_amd64.go -pkgname utime', DO NOT EDIT.
+// Code generated by 'ccgo utime/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o utime/utime_linux_amd64.go -pkgname utime', DO NOT EDIT.
package utime
@@ -15,21 +15,21 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- X_ATFILE_SOURCE = 1
- X_BITS_TIME64_H = 1
- X_BITS_TYPESIZES_H = 1
- X_BITS_TYPES_H = 1
- X_DEFAULT_SOURCE = 1
- X_FEATURES_H = 1
- X_FILE_OFFSET_BITS = 64
- X_LP64 = 1
- X_POSIX_C_SOURCE = 200809
- X_POSIX_SOURCE = 1
- X_STDC_PREDEF_H = 1
- X_SYS_CDEFS_H = 1
- X_UTIME_H = 1
- Linux = 1
- Unix = 1
+ X_ATFILE_SOURCE = 1 // features.h:342:1:
+ X_BITS_TIME64_H = 1 // time64.h:24:1:
+ X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1:
+ X_BITS_TYPES_H = 1 // types.h:24:1:
+ X_DEFAULT_SOURCE = 1 // features.h:227:1:
+ X_FEATURES_H = 1 // features.h:19:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_LP64 = 1 // <predefined>:284:1:
+ X_POSIX_C_SOURCE = 200809 // features.h:281:1:
+ X_POSIX_SOURCE = 1 // features.h:279:1:
+ X_STDC_PREDEF_H = 1 // <predefined>:162:1:
+ X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
+ X_UTIME_H = 1 // utime.h:23:1:
+ Linux = 1 // <predefined>:231:1:
+ Unix = 1 // <predefined>:177:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */