HomeFreeBSD

Merge fix for zfs readmmap test from CheriBSD

Description

Merge fix for zfs readmmap test from CheriBSD

Merge commit 1737d8397a0 by Brooks Davis:

time() is declared in time.h

This fixes a -Werror warning from clang 15:

tests/sys/cddl/zfs/bin/readmmap.c:97:9: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Obtained from: https://github.com/CTSRD-CHERI/cheribsd/commit/1737d8397a0
MFC after: 3 days

(cherry picked from commit 47be48457393ba6747cc3144272b1f4d8b9077fb)

Details

Provenance
dimAuthored on Jul 15 2022, 7:10 PM
Parents
rG9fd95378f383: qat(4): Fix a typo in a source code comment
Branches
Unknown
Tags
Unknown