Skip to content

Commit f34fe0b

Browse files
committed
Fix warnings for mongoc-b64
Implementation in headers is bad. Separate out the implementation and file scoped statics into a .c and pull the necessary function definitions out into the associated -private.h
1 parent 3fdc58d commit f34fe0b

File tree

4 files changed

+546
-500
lines changed

4 files changed

+546
-500
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ set (SOURCES
5959
${SOURCE_DIR}/src/mongoc/mongoc-array.c
6060
${SOURCE_DIR}/src/mongoc/mongoc-bulk-operation.c
6161
${SOURCE_DIR}/src/mongoc/mongoc-buffer.c
62+
${SOURCE_DIR}/src/mongoc/mongoc-b64.c
6263
${SOURCE_DIR}/src/mongoc/mongoc-client.c
6364
${SOURCE_DIR}/src/mongoc/mongoc-client-pool.c
6465
${SOURCE_DIR}/src/mongoc/mongoc-cluster.c

src/mongoc/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ MONGOC_SOURCES_SHARED += \
9595
src/mongoc/mongoc-array.c \
9696
src/mongoc/mongoc-buffer.c \
9797
src/mongoc/mongoc-bulk-operation.c \
98+
src/mongoc/mongoc-b64.c \
9899
src/mongoc/mongoc-client.c \
99100
src/mongoc/mongoc-client-pool.c \
100101
src/mongoc/mongoc-cluster.c \

0 commit comments

Comments
 (0)