Skip to content

Commit e755bfb

Browse files
committed
Pull sfparse via git submodule
1 parent 67f3986 commit e755bfb

File tree

8 files changed

+11
-1561
lines changed

8 files changed

+11
-1561
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "tests/munit"]
22
path = tests/munit
33
url = https://github.com/ngtcp2/munit
4+
[submodule "lib/sfparse"]
5+
path = lib/sfparse
6+
url = https://github.com/ngtcp2/sfparse

lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ set(nghttp3_SOURCES
6060
nghttp3_opl.c
6161
nghttp3_objalloc.c
6262
nghttp3_unreachable.c
63-
sfparse.c
63+
sfparse/sfparse.c
6464
)
6565

6666
# Public shared library

lib/Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424
SUBDIRS = includes
2525

26-
EXTRA_DIST = CMakeLists.txt
26+
EXTRA_DIST = CMakeLists.txt sfparse/COPYING
2727

2828
AM_CFLAGS = $(WARNCFLAGS) $(DEBUGCFLAGS) $(EXTRACFLAG)
2929
AM_CPPFLAGS = -I$(srcdir)/includes -I$(builddir)/includes -DBUILDING_NGHTTP3
@@ -63,7 +63,7 @@ OBJECTS = \
6363
nghttp3_opl.c \
6464
nghttp3_objalloc.c \
6565
nghttp3_unreachable.c \
66-
sfparse.c
66+
sfparse/sfparse.c
6767
HFILES = \
6868
nghttp3_rcbuf.h \
6969
nghttp3_mem.h \
@@ -91,7 +91,7 @@ HFILES = \
9191
nghttp3_opl.h \
9292
nghttp3_objalloc.h \
9393
nghttp3_unreachable.h \
94-
sfparse.h \
94+
sfparse/sfparse.h \
9595
nghttp3_macro.h
9696

9797
libnghttp3_la_SOURCES = $(HFILES) $(OBJECTS)

lib/nghttp3_http.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "nghttp3_macro.h"
3333
#include "nghttp3_conv.h"
3434
#include "nghttp3_unreachable.h"
35-
#include "sfparse.h"
35+
#include "sfparse/sfparse.h"
3636

3737
static uint8_t downcase(uint8_t c) {
3838
return 'A' <= c && c <= 'Z' ? (uint8_t)(c - 'A' + 'a') : c;

lib/sfparse

Submodule sfparse added at c36bc9a

0 commit comments

Comments
 (0)