Cthulhu  0.2.10
Cthulhu compiler collection
disable_static.c
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-3.0-only
2 
3 #include "common.h"
4 
5 #include "core/macros.h"
6 
8 loaded_module_t load_static_module(loader_t *loader, module_type_t mask, const char *name)
9 {
10  CT_UNUSED(loader);
11  CT_UNUSED(mask);
12  CT_UNUSED(name);
13 
14  return load_error(eLoadErrorDisabled, 0);
15 }
STA_DECL loaded_module_t load_static_module(loader_t *loader, module_type_t mask, const char *name)
Definition: disable_static.c:8
#define STA_DECL
sal2 annotation on function implementations to copy annotations from the declaration
#define CT_UNUSED(x)
mark a variable as unused
Definition: macros.h:46
loaded_module_t load_error(load_error_t error, os_error_t os)
Definition: loader.c:25
module_type_t
Definition: loader.h:32
Definition: common.h:8