llvmjit: Make llvm_types_module variable static
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 27 Sep 2023 11:02:14 +0000 (13:02 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 27 Sep 2023 11:02:14 +0000 (13:02 +0200)
commitef668d8bf56e8c164ed62acdb269aa2f7e7ad5a1
treea5d2bf1cd25a9ac38e29f6c64052feaaeab71d95
parent2dad308e73c1d105e69e69b9268a871260d94b4e
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
src/backend/jit/llvm/llvmjit.c
src/include/jit/llvmjit.h