Skip to content

Commit f65d3dc

Browse files
committed
rename onepiece-*.c to crsync-*.c
adjust uthash HASH_BLOOM from 20 to 21
1 parent 363dc4f commit f65d3dc

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
File renamed without changes.
File renamed without changes.

src/crsync.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ include $(PREBUILT_STATIC_LIBRARY)
88

99
include $(CLEAR_VARS)
1010
LOCAL_MODULE := crsync
11-
LOCAL_SRC_FILES := digest.c diff.c patch.c http.c crsync.c helper.c magnet.c util.c log.c onepiece-jni.c ../extra/md5.c ../extra/tpl.c
11+
LOCAL_SRC_FILES := digest.c diff.c patch.c http.c helper.c magnet.c util.c log.c crsync.c crsync-jni.c ../extra/md5.c ../extra/tpl.c
1212
LOCAL_C_INCLUDES += ../extra
1313
LOCAL_STATIC_LIBRARIES := curl
14-
LOCAL_CFLAGS += -DHASH_BLOOM=20 -DCURL_STATICLIB -std=c99 -fopenmp
14+
LOCAL_CFLAGS += -DHASH_BLOOM=21 -DCURL_STATICLIB -std=c99 -fopenmp
1515
LOCAL_LDLIBS += -lc -lz -llog
1616
LOCAL_LDFLAGS += -fopenmp
1717

src/crsync.pro

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ SOURCES += \
1111
diff.c \
1212
patch.c \
1313
http.c \
14-
crsync.c \
1514
magnet.c \
1615
helper.c \
1716
util.c \
1817
log.c \
19-
onepiece-main.c \
18+
crsync.c \
19+
crsync-console.c \
2020
../extra/md5.c \
2121
../extra/tpl.c \
2222
../extra/win/mmap.c \
@@ -29,11 +29,11 @@ HEADERS += \
2929
diff.h \
3030
patch.h \
3131
http.h \
32-
crsync.h \
3332
magnet.h \
3433
helper.h \
3534
util.h \
3635
log.h \
36+
crsync.h \
3737
crsyncver.h \
3838
../extra/md5.h \
3939
../extra/tpl.h \
@@ -44,7 +44,7 @@ HEADERS += \
4444
../extra/dictionary.h \
4545
../extra/iniparser.h
4646

47-
DEFINES += HASH_BLOOM=20 CURL_STATICLIB
47+
DEFINES += HASH_BLOOM=21 CURL_STATICLIB
4848
INCLUDEPATH += $${_PRO_FILE_PWD_}/../libcurl/include
4949
LIBS += -L$${_PRO_FILE_PWD_}/../libcurl/lib/m32 -lcurl -lws2_32
5050

0 commit comments

Comments
 (0)