Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: src/sys/kern/subr_prf.c r1.161



In article <osvvt8$111$1%blaine.gmane.org@localhost>,
Christos Zoulas <christos%astron.com@localhost> wrote:
>In article <85853ac7-a205-b412-2f5b-39101dc5113f%gmx.com@localhost>,
>Kamil Rytarowski  <n54%gmx.com@localhost> wrote:

Or better, since we provide the decl anyway:

--- a/sys/syz-extract/fetch.go
+++ b/sys/syz-extract/fetch.go
@@ -144,7 +144,9 @@ var srcTemplate = template.Must(template.New("").Parse(`
 
 {{.AddSource}}
 
+#ifndef __NetBSD__
 int printf(const char *format, ...);
+#endif
 
 int main() {
 	int i;

christos



Home | Main Index | Thread Index | Old Index