NetBSD-Bugs archive

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

bin/49715: Missing _*_DECLS in stdio.h around popenve.



>Number:         49715
>Category:       bin
>Synopsis:       Missing _*_DECLS in stdio.h around popenve.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 04 12:15:00 +0000 2015
>Originator:     Henning Petersen
>Release:        
>Organization:
>Environment:
>Description:
Missing _BEGIN_DECLS and _END_DECLS around popenve.
>How-To-Repeat:

>Fix:
diff -u -p -r1.93 stdio.h
--- include/stdio.h	20 Jan 2015 17:29:00 -0000	1.93
+++ include/stdio.h	20 Feb 2015 14:11:07 -0000
@@ -331,7 +331,9 @@ FILE	*popen(const char *, const char *);
 __END_DECLS
 #endif
 #ifdef _NETBSD_SOURCE
+__BEGIN_DECLS
 FILE	*popenve(const char *, char *const *, char *const *, const char *);
+__END_DECLS
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index