All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: mtk.manpages@gmail.com
Cc: Alejandro Colomar <alx.manpages@gmail.com>, linux-man@vger.kernel.org
Subject: [PATCH] execveat.2: Remove unused include
Date: Mon, 10 May 2021 15:02:10 +0200	[thread overview]
Message-ID: <20210510130209.4578-1-alx.manpages@gmail.com> (raw)

This complements commit e3eba861bd966911b38b7ebc572f0c092ca7bdee.

Since we don't need syscall(2) anymore, we don't need SYS_* definitions.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/execveat.2 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/man2/execveat.2 b/man2/execveat.2
index 11ae04a9f..495617b09 100644
--- a/man2/execveat.2
+++ b/man2/execveat.2
@@ -29,7 +29,6 @@ execveat \- execute program relative to a directory file descriptor
 .SH SYNOPSIS
 .nf
 .BR "#include <linux/fcntl.h>" "      /* Definition of " AT_* " constants */"
-.BR "#include <sys/syscall.h>" "      /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .PP
 .BI "int execveat(int " dirfd ", const char *" pathname ,
-- 
2.31.1


             reply	other threads:[~2021-05-10 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 13:02 Alejandro Colomar [this message]
2021-05-10 17:17 ` Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210510130209.4578-1-alx.manpages@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    --subject='Re: [PATCH] execveat.2: Remove unused include' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.