diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-09-27 13:02:14 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-09-27 13:02:14 +0200 |
commit | ef668d8bf56e8c164ed62acdb269aa2f7e7ad5a1 (patch) | |
tree | a5d2bf1cd25a9ac38e29f6c64052feaaeab71d95 /src/include/jit/llvmjit.h | |
parent | 2dad308e73c1d105e69e69b9268a871260d94b4e (diff) | |
download | postgresql-ef668d8bf56e8c164ed62acdb269aa2f7e7ad5a1.tar.gz postgresql-ef668d8bf56e8c164ed62acdb269aa2f7e7ad5a1.zip |
llvmjit: Make llvm_types_module variable static
Commit b059d2f45685a introduced llvm_types_module and accidentally
exported it. As there is no usecase for accessing this variable
externally, this makes it static.
Author: Andres Freund <andres@anarazel.de>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/20221101055132.pjjsvlkeo4stbjkq@awork3.anarazel.de
Diffstat (limited to 'src/include/jit/llvmjit.h')
-rw-r--r-- | src/include/jit/llvmjit.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/jit/llvmjit.h b/src/include/jit/llvmjit.h index 551b5854646..17b3b7593ff 100644 --- a/src/include/jit/llvmjit.h +++ b/src/include/jit/llvmjit.h @@ -55,9 +55,6 @@ typedef struct LLVMJitContext List *handles; } LLVMJitContext; -/* llvm module containing information about types */ -extern PGDLLIMPORT LLVMModuleRef llvm_types_module; - /* type and struct definitions */ extern PGDLLIMPORT LLVMTypeRef TypeParamBool; extern PGDLLIMPORT LLVMTypeRef TypePGFunction; |