Skip to content

Commit

Permalink
build: stop installing private headers
Browse files Browse the repository at this point in the history
Those are no longer public ABI, so they shouldn't be public API either.
Fix json.h to no longer reference those files.
  • Loading branch information
mbiebl committed Apr 7, 2016
1 parent bdb2e2b commit 25daae3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,13 @@ pkgconfig_DATA = libfastjson.pc
libfastjsonincludedir = $(includedir)/libfastjson
libfastjsoninclude_HEADERS = \
atomic.h \
arraylist.h \
debug.h \
json.h \
json_inttypes.h \
json_object.h \
json_object_iterator.h \
json_object_private.h \
json_tokener.h \
json_util.h \
linkhash.h \
printbuf.h \
random_seed.h
json_util.h

libfastjson_la_LDFLAGS = \
-version-info 3:0:0 \
Expand All @@ -40,10 +35,15 @@ libfastjson_la_SOURCES = \
json_util.c

libfastjson_internal_la_SOURCES = \
arraylist.h \
arraylist.c \
debug.h \
debug.c \
linkhash.h \
linkhash.c \
printbuf.h \
printbuf.c \
random_seed.h \
random_seed.c

uninstall-local:
Expand Down
3 changes: 0 additions & 3 deletions json.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
extern "C" {
#endif

#include "debug.h"
#include "linkhash.h"
#include "arraylist.h"
#include "json_util.h"
#include "json_object.h"
#include "json_tokener.h"
Expand Down
3 changes: 3 additions & 0 deletions json_object_iterator.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@

#include "json_object_iterator.h"

#include "debug.h"
#include "linkhash.h"

/**
* How It Works
*
Expand Down

0 comments on commit 25daae3

Please sign in to comment.