Skip to content

Commit fa49f59

Browse files
committed
Review changes and remove hfile_s3_write.c
1 parent 4f482c0 commit fa49f59

File tree

7 files changed

+264
-1075
lines changed

7 files changed

+264
-1075
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Makefile for htslib, a C library for high-throughput sequencing data formats.
22
#
3-
# Copyright (C) 2013-2024 Genome Research Ltd.
3+
# Copyright (C) 2013-2025 Genome Research Ltd.
44
#
55
# Author: John Marshall <jm18@sanger.ac.uk>
66
#
@@ -500,7 +500,6 @@ header.o header.pico: header.c config.h $(textutils_internal_h) $(header_h) $(ht
500500
hfile.o hfile.pico: hfile.c config.h $(htslib_hfile_h) $(hfile_internal_h) $(htslib_kstring_h) $(hts_internal_h) $(htslib_khash_h)
501501
hfile_gcs.o hfile_gcs.pico: hfile_gcs.c config.h $(htslib_hts_h) $(htslib_kstring_h) $(hfile_internal_h)
502502
hfile_libcurl.o hfile_libcurl.pico: hfile_libcurl.c config.h $(hfile_internal_h) $(htslib_hts_h) $(htslib_kstring_h) $(htslib_khash_h)
503-
hfile_s3_write.o hfile_s3_write.pico: hfile_s3_write.c config.h $(hfile_internal_h) $(htslib_hts_h) $(htslib_kstring_h) $(htslib_khash_h)
504503
hfile_s3.o hfile_s3.pico: hfile_s3.c config.h $(hfile_internal_h) $(htslib_hts_h) $(htslib_kstring_h) $(hts_time_funcs_h)
505504
hts.o hts.pico: hts.c config.h os/lzma_stub.h $(htslib_hts_h) $(htslib_bgzf_h) $(cram_h) $(htslib_hfile_h) $(htslib_hts_endian_h) version.h config_vars.h $(hts_internal_h) $(hfile_internal_h) $(sam_internal_h) $(htslib_hts_expr_h) $(htslib_hts_os_h) $(htslib_khash_h) $(htslib_kseq_h) $(htslib_ksort_h) $(htslib_tbx_h) $(htscodecs_htscodecs_h)
506505
hts_expr.o hts_expr.pico: hts_expr.c config.h $(htslib_hts_expr_h) $(htslib_hts_log_h) $(textutils_internal_h)

config.mk.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,10 @@ endif
7979

8080
ifeq "s3-@s3@" "s3-enabled"
8181
plugin_OBJS += hfile_s3.o
82-
plugin_OBJS += hfile_s3_write.o
8382

8483
CRYPTO_LIBS = @CRYPTO_LIBS@
8584
noplugin_LIBS += $(CRYPTO_LIBS)
8685
hfile_s3$(PLUGIN_EXT): LIBS += $(CRYPTO_LIBS) $(LIBCURL_LIBS)
87-
hfile_s3_write$(PLUGIN_EXT): LIBS += $(CRYPTO_LIBS) $(LIBCURL_LIBS)
8886
endif
8987

9088
ifeq "plugins-@enable_plugins@" "plugins-yes"
@@ -101,7 +99,6 @@ plugin.o plugin.pico: ALL_CPPFLAGS += -DPLUGINPATH=\"$(pluginpath)\"
10199
hfile_gcs.o hfile_gcs.pico: version.h
102100
hfile_libcurl.o hfile_libcurl.pico: version.h
103101
hfile_s3.o hfile_s3.pico: version.h
104-
hfile_s3_write.o hfile_s3_write.pico: version.h
105102

106103
# Windows DLL plugins depend on the import library, built as a byproduct.
107104
$(plugin_OBJS:.o=.cygdll): cyghts-$(LIBHTS_SOVERSION).dll

hfile.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,6 @@ static int load_hfile_plugins(void)
11361136
#endif
11371137
#ifdef ENABLE_S3
11381138
init_add_plugin(NULL, hfile_plugin_init_s3, "s3");
1139-
init_add_plugin(NULL, hfile_plugin_init_s3_write, "s3w");
11401139
#endif
11411140

11421141
#endif

hfile_internal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ extern int hfile_plugin_init(struct hFILE_plugin *self);
182182
extern int hfile_plugin_init_gcs(struct hFILE_plugin *self);
183183
extern int hfile_plugin_init_libcurl(struct hFILE_plugin *self);
184184
extern int hfile_plugin_init_s3(struct hFILE_plugin *self);
185-
extern int hfile_plugin_init_s3_write(struct hFILE_plugin *self);
186185
#endif
187186

188187
// Callback to allow headers to be set in http connections. Currently used

0 commit comments

Comments
 (0)