Bug 10956

Summary: error: redefinition of ‘pid_is_exec’
Product: Busybox Reporter: larissanadja
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description larissanadja 2018-04-13 20:03:32 UTC
Redefinition of function.

When the macro OLDER_VERSION_OF_X is enabled, the following compilation error occurs.

debianutils/start_stop_daemon.c:194:12: error: redefinition of ‘pid_is_exec’
 static int pid_is_exec(pid_t pid)
            ^
debianutils/start_stop_daemon.c:179:12: note: previous definition of ‘pid_is_exec’ was here
 static int pid_is_exec(pid_t pid)
            ^
Comment 1 Denys Vlasenko 2018-04-13 23:30:51 UTC
fixed in git, thanks