Flexelinting

parent 26f79400
......@@ -21,6 +21,7 @@
-esym(528, vmod_priv_blob*, VGC_*)
-esym(843, vmod_priv_blob*, VGC_*)
-esym(844, vmod_priv_blob*, VGC_*)
-esym(768, arg_vmod_blob*)
// not fully understood
-efunc(413, *_VSPLAY_NEXT)
......
......@@ -418,6 +418,8 @@ tus_mmap_header(int fd)
MAP_SHARED | MAP_NORESERVE, fd, 0));
}
static void
tus_file_mmap(struct tus_file_core *fcore);
static char * const empty = "";
void
......@@ -445,7 +447,7 @@ tus_file_complete(struct tus_file_core *fcore)
fcore->ptr = empty;
}
void
static void
tus_file_mmap(struct tus_file_core *fcore)
{
struct tus_file_disk *fdisk;
......
......@@ -173,7 +173,6 @@ struct tus_file_core *tus_file_new(VRT_CTX, struct VPFX(tus_server) *,
struct tus_file_core *tus_file_lookup(struct VPFX(tus_server) *, const char *);
unsigned tus_body_to_file(VRT_CTX, struct tus_file_core *);
void tus_file_complete(struct tus_file_core *);
void tus_file_mmap(struct tus_file_core *);
#ifdef BAD_IDEA
void
......
......@@ -249,6 +249,7 @@ tus_objgetattr(struct worker *wrk, struct objcore *oc,
uint64_t l;
(void) wrk;
(void) oc;
CHECK_OBJ_NOTNULL(oc, OBJCORE_MAGIC);
assert(oc->stobj->stevedore == &stv_tus);
......
......@@ -45,7 +45,7 @@ const struct body_status BS_ERROR[1];
const struct vrt_blob *vrt_null_blob = &(struct vrt_blob){
.type = VRT_NULL_BLOB_TYPE,
.len = 0,
.blob = "\0"
.blob = ""
};
int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment