mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Make internal-only functions and structures private
Certain functions are intended to be internal only, but we currently export them anyway. This change moves them into a separate section of guestfs.h protected by a GUESTFS_PRIVATE variable. This change also enables private structs, but doesn't implement any. This change only affects the C api. Language bindings aren't affected, but probably should be in the future.
This commit is contained in:
committed by
Richard W.M. Jones
parent
1dd9bf73b7
commit
27b995c841
@@ -79,7 +79,7 @@ libguestfs_jni_la_SOURCES = \
|
||||
libguestfs_jni_la_LIBADD = $(top_builddir)/src/libguestfs.la
|
||||
libguestfs_jni_la_LDFLAGS = -version-info $(JNI_VERSION_INFO) -shared
|
||||
libguestfs_jni_la_CFLAGS = \
|
||||
-DGUESTFS_PRIVATE_FUNCTIONS=1 \
|
||||
-DGUESTFS_PRIVATE=1 \
|
||||
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
|
||||
-I$(top_srcdir)/src -I$(top_builddir)/src \
|
||||
$(JNI_CFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user