Skip to content

Commit

Permalink
Show libsubid api version in subid.h
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Hallyn <serge@hallyn.com>
  • Loading branch information
hallyn committed Dec 5, 2021
1 parent 32f641b commit 52302da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ AC_CONFIG_FILES([
libmisc/Makefile
lib/Makefile
libsubid/Makefile
libsubid/subid.h
src/Makefile
contrib/Makefile
etc/Makefile
Expand Down
4 changes: 4 additions & 0 deletions libsubid/subid.h → libsubid/subid.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

#ifndef SUBID_RANGE_DEFINED
#define SUBID_RANGE_DEFINED 1
#define SUBID_ABI_VERSION @LIBSUBID_ABI_MAJOR@.@LIBSUBID_ABI_MINOR@.@LIBSUBID_ABI_MICRO@
#define SUBID_ABI_MAJOR @LIBSUBID_ABI_MAJOR@
#define SUBID_ABI_MINOR @LIBSUBID_ABI_MINOR@
#define SUBID_ABI_MICRO @LIBSUBID_ABI_MICRO@

/* subid_range is just a starting point and size of a range */
struct subid_range {
Expand Down

0 comments on commit 52302da

Please sign in to comment.