From c0dcbaa0a17fb2e855e649d08fdc6f615d295129 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Thu, 3 Nov 2022 07:36:21 +0100 Subject: [PATCH] DRAFT lib: Only provide dlopen, dlclose prototype for BOOTSTRAP. * include/dlfcn.h (dlopen, dlclose)[!BOOTSTRAP]: Remove. --- include/dlfcn.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/dlfcn.h b/include/dlfcn.h index 9dbea76b..c946d5bf 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright © 2017 Jan (janneke) Nieuwenhuizen + * Copyright © 2017,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -36,8 +36,10 @@ #define RTLD_NODELETE 0x01000 #define RTLD_DEFAULT 0 +#if BOOTSTRAP void *dlopen (char const *filename, int flags); int dlclose (void *handle); +#endif #endif // ! SYSTEM_LIBC