public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Stan Shebs <shebs@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/google/grte/v5-2.27/master] Fix a return type in elf unload test
Date: Fri, 23 Jul 2021 17:06:50 +0000 (GMT)	[thread overview]
Message-ID: <20210723170650.BF36F39AFC06@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4bb48f1b3aec652651b2fe45d5dac90cd7812453

commit 4bb48f1b3aec652651b2fe45d5dac90cd7812453
Author: Stan Shebs <stanshebs@google.com>
Date:   Thu Jul 22 13:00:52 2021 -0700

    Fix a return type in elf unload test

Diff:
---
 elf/unload8mod1.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elf/unload8mod1.c b/elf/unload8mod1.c
index 42a4298b6e..8df93a0859 100644
--- a/elf/unload8mod1.c
+++ b/elf/unload8mod1.c
@@ -8,7 +8,7 @@ mod1 (void)
   mod2 ();
 }
 
-void
+int
 mod1b (void)
 {
   void *h = dlopen ("$ORIGIN/unload8mod3.so", RTLD_LAZY);
@@ -17,4 +17,5 @@ mod1b (void)
       puts ("dlopen unload8mod3.so failed");
       return 1;
     }
+  return 0;
 }


             reply	other threads:[~2021-07-23 17:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23 17:06 Stan Shebs [this message]
2021-08-28  0:39 Fangrui Song

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=20210723170650.BF36F39AFC06@sourceware.org \
    --to=shebs@sourceware.org \
    --cc=glibc-cvs@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).