Module Name: src Committed By: kamil Date: Wed Jun 6 15:24:57 UTC 2018
Modified Files: src/external/cddl/osnet/dist/uts/common/dtrace: dtrace.c Log Message: Correct compilation of osnet/dist/uts/common/dtrace/dtrace.c under Clang Add missing const keywords in dtrace_strncmp(). Initialize lim1 and lim2 to zero always. This prevents a false positive about potentially unset but used variable. This could be done with -W flags, but they are incompatible between compilers. This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build. Sponsored by <The NetBSD Foundation> To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 \ src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.