public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd,commited] [hurd] Drop spurious #ifdef SHARED
@ 2022-01-15 13:25 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2022-01-15 13:25 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault, commit-hurd

The whole file is already #ifdef SHARED
---
 sysdeps/mach/hurd/dl-sysdep.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 51c7bc3e88..b6256a2c0e 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -105,7 +105,6 @@ _dl_sysdep_start (void **start_argptr,
       DL_SYSDEP_INIT;
 #endif
 
-#ifdef SHARED
 #ifdef DL_PLATFORM_INIT
       DL_PLATFORM_INIT;
 #endif
@@ -113,7 +112,6 @@ _dl_sysdep_start (void **start_argptr,
       /* Determine the length of the platform name.  */
       if (GLRO(dl_platform) != NULL)
 	GLRO(dl_platformlen) = strlen (GLRO(dl_platform));
-#endif
 
       if (_dl_hurd_data->flags & EXEC_STACK_ARGS
 	  && _dl_hurd_data->user_entry == 0)
-- 
2.34.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-15 13:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-15 13:25 [hurd,commited] [hurd] Drop spurious #ifdef SHARED Samuel Thibault

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).