Merge pull request #610 from ilammy/hide-symbols

Hide unnecessarily exported symbols
This commit is contained in:
Alex Shinn 2020-02-03 22:19:37 +08:00 committed by GitHub
commit addb859ab2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
#if SEXP_USE_IMAGE_LOADING
#define ERR_STR_SIZE 256
char gc_heap_err_str[ERR_STR_SIZE];
static char gc_heap_err_str[ERR_STR_SIZE];
static sexp_uint_t sexp_gc_allocated_bytes (sexp ctx, sexp *types, size_t types_cnt, sexp x) {
@ -573,7 +573,7 @@ static sexp load_image_callback_p2 (sexp ctx, sexp dstp, void *user) {
}
int load_image_header(FILE *fp, struct sexp_image_header_t* header) {
static int load_image_header(FILE *fp, struct sexp_image_header_t* header) {
if (!fp || !header) { return 0; }
if (fread(header, sizeof(struct sexp_image_header_t), 1, fp) != 1) {