summaryrefslogtreecommitdiff
path: root/lib/csu/crtbegin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/crtbegin.c')
-rw-r--r--lib/csu/crtbegin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/crtbegin.c b/lib/csu/crtbegin.c
index 8290150592b..5890fdccda3 100644
--- a/lib/csu/crtbegin.c
+++ b/lib/csu/crtbegin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crtbegin.c,v 1.25 2018/12/21 05:45:42 guenther Exp $ */
+/* $OpenBSD: crtbegin.c,v 1.26 2019/01/09 16:42:38 visa Exp $ */
/* $NetBSD: crtbegin.c,v 1.1 1996/09/12 16:59:03 cgd Exp $ */
/*
@@ -123,7 +123,7 @@ MD_SECT_CALL_FUNC(".init", __do_init);
MD_SECT_CALL_FUNC(".fini", __do_fini);
-void
+static void
__do_init(void)
{
static int initialized;
@@ -148,7 +148,7 @@ __do_init(void)
char __csu_do_fini_array __dso_hidden = 0;
extern __dso_hidden init_f __fini_array_start[], __fini_array_end[];
-void
+static void
__do_fini(void)
{
static int finalized;