diff options
| author | Daniel Gustafsson | 2023-09-27 11:02:14 +0000 |
|---|---|---|
| committer | Daniel Gustafsson | 2023-09-27 11:02:14 +0000 |
| commit | ef668d8bf56e8c164ed62acdb269aa2f7e7ad5a1 (patch) | |
| tree | a5d2bf1cd25a9ac38e29f6c64052feaaeab71d95 /src/backend | |
| parent | 2dad308e73c1d105e69e69b9268a871260d94b4e (diff) | |
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 <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend')
| -rw-r--r-- | src/backend/jit/llvm/llvmjit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/jit/llvm/llvmjit.c b/src/backend/jit/llvm/llvmjit.c index fc0ccea329c..caf261a559f 100644 --- a/src/backend/jit/llvm/llvmjit.c +++ b/src/backend/jit/llvm/llvmjit.c @@ -77,7 +77,7 @@ LLVMTypeRef StructAggStatePerTransData; LLVMValueRef AttributeTemplate; -LLVMModuleRef llvm_types_module = NULL; +static LLVMModuleRef llvm_types_module = NULL; static bool llvm_session_initialized = false; static size_t llvm_generation = 0; |
