From: Andreas Schwab <schwab@redhat.com>
To: libc-hacker@sourceware.org
Subject: [PATCH] Remove obsolete function keyword
Date: Mon, 30 May 2011 14:39:00 -0000 [thread overview]
Message-ID: <m3ei3gi76e.fsf@redhat.com> (raw)
2011-05-30 Andreas Schwab <schwab@redhat.com>
* elf/sotruss.ksh: Remove obsolete function keyword.
---
elf/sotruss.ksh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/elf/sotruss.ksh b/elf/sotruss.ksh
index 6bbdc89..fe2ec05 100755
--- a/elf/sotruss.ksh
+++ b/elf/sotruss.ksh
@@ -29,7 +29,7 @@ unset SOTRUSS_NOINDENT
SOTRUSS_WHICH=$$
lib='@PREFIX@/$LIB/audit/sotruss-lib.so'
-function do_help {
+do_help () {
echo $"Usage: sotruss [OPTION...] [--] EXECUTABLE [EXECUTABLE-OPTION...]
-F, --from FROMLIST trace calls from objects on FORMLIST
-T, --to TOLIST trace calls to objects on TOLIST
@@ -52,13 +52,13 @@ function do_help {
exit 0
}
-function do_missing_arg {
+do_missing_arg () {
printf >&2 $"%s: option requires an argument -- '%s'\n" sotruss "$1"
printf >&2 $"Try \`%s --help' or \`%s --usage' for more information.\n" sotruss sotruss
exit 1
}
-function do_ambiguous {
+do_ambiguous () {
printf >&2 $"%s: option is ambiguous; possibilities:"
while test $# -gt 0; do
printf >&2 " '%s'" $1
--
1.7.4.4
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
next reply other threads:[~2011-05-30 14:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-30 14:39 Andreas Schwab [this message]
2011-05-30 15:54 ` Ulrich Drepper
2011-05-30 16:53 ` Andreas Schwab
2011-05-30 17:02 ` Ulrich Drepper
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=m3ei3gi76e.fsf@redhat.com \
--to=schwab@redhat.com \
--cc=libc-hacker@sourceware.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).