Bug 10956 - error: redefinition of ‘pid_is_exec’
Summary: error: redefinition of ‘pid_is_exec’
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-13 20:03 UTC by larissanadja
Modified: 2018-04-13 23:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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