This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=f91ee6d340ded26dea72a17c55ea5f8a684cccec commit f91ee6d340ded26dea72a17c55ea5f8a684cccec Author: Guillem Jover <[email protected]> AuthorDate: Wed Jan 6 19:37:16 2021 +0100 libdpkg: Fix m_pipe() function definition prototype to match declaration Warned-by: gcc-11 Changelog: internal --- lib/dpkg/mlib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dpkg/mlib.c b/lib/dpkg/mlib.c index 4e5e5b1a8..282f8bc24 100644 --- a/lib/dpkg/mlib.c +++ b/lib/dpkg/mlib.c @@ -134,7 +134,9 @@ void m_dup2(int oldfd, int newfd) { ohshite(_("failed to dup for fd %d"),newfd); } -void m_pipe(int *fds) { +void +m_pipe(int fds[2]) +{ if (!pipe(fds)) return; onerr_abort++; ohshite(_("failed to create pipe")); -- Dpkg.Org's dpkg

