Commit 6aa58d51be42e7d5fa7770171f656b9222026366

Authored by Jay Berkenbilt
1 parent dffd30cc

Rename bits.icc to bits_include.cc

libqpdf/BitStream.cc
@@ -2,9 +2,9 @@ @@ -2,9 +2,9 @@
2 2
3 #include <qpdf/QIntC.hh> 3 #include <qpdf/QIntC.hh>
4 4
5 -// See comments in bits.cc 5 +// See comments in bits_include.cc
6 #define BITS_READ 1 6 #define BITS_READ 1
7 -#include "bits.icc" 7 +#include "bits_include.cc"
8 8
9 BitStream::BitStream(unsigned char const* p, size_t nbytes) : 9 BitStream::BitStream(unsigned char const* p, size_t nbytes) :
10 start(p), 10 start(p),
libqpdf/BitWriter.cc
1 #include <qpdf/BitWriter.hh> 1 #include <qpdf/BitWriter.hh>
2 2
3 -// See comments in bits.cc 3 +// See comments in bits_include.cc
4 #define BITS_WRITE 1 4 #define BITS_WRITE 1
5 -#include "bits.icc" 5 +#include "bits_include.cc"
6 6
7 BitWriter::BitWriter(Pipeline* pl) : 7 BitWriter::BitWriter(Pipeline* pl) :
8 pl(pl), 8 pl(pl),
libqpdf/bits.icc renamed to libqpdf/bits_include.cc
libtests/bits.cc
@@ -7,11 +7,11 @@ @@ -7,11 +7,11 @@
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 -// See comments in bits.cc 10 +// See comments in bits_include.cc
11 #define BITS_TESTING 1 11 #define BITS_TESTING 1
12 #define BITS_READ 1 12 #define BITS_READ 1
13 #define BITS_WRITE 1 13 #define BITS_WRITE 1
14 -#include "../libqpdf/bits.icc" 14 +#include "../libqpdf/bits_include.cc"
15 15
16 static void 16 static void
17 print_values(long long byte_offset, size_t bit_offset, 17 print_values(long long byte_offset, size_t bit_offset,
libtests/build.mk
@@ -38,8 +38,7 @@ $(TARGETS_libtests): $(TARGETS_libqpdf) $(TARGETS_qpdf) @@ -38,8 +38,7 @@ $(TARGETS_libtests): $(TARGETS_libqpdf) $(TARGETS_qpdf)
38 38
39 INCLUDES_libtests = include libqpdf 39 INCLUDES_libtests = include libqpdf
40 40
41 -TC_SRCS_libtests = $(wildcard libqpdf/*.cc) $(wildcard libtests/*.cc) \  
42 - libqpdf/bits.icc 41 +TC_SRCS_libtests = $(wildcard libqpdf/*.cc) $(wildcard libtests/*.cc)
43 42
44 # ----- 43 # -----
45 44