Skip to content

Commit 28c100c

Browse files
committed
rc: drop ifdef for a test
1 parent 2fc625b commit 28c100c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/openrc/rc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,6 @@ handle_signal(int sig)
476476
static void
477477
do_early_hostname(void)
478478
{
479-
#ifdef __linux__
480479
/* Set hostname if available */
481480
char *buffer = NULL;
482481
size_t len;
@@ -489,7 +488,6 @@ do_early_hostname(void)
489488
}
490489
free(buffer);
491490
}
492-
#endif
493491
}
494492

495493
static void

0 commit comments

Comments
 (0)