Commit 6fdc5c81 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

Minor flexelint'ing

parent df412e73
......@@ -22,3 +22,4 @@
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long)
-e574 // Signed-unsigned mix with relational
-e835 // A zero has been given as ___ argument to operator '___' (<<)
......@@ -60,7 +60,6 @@ volatile sig_atomic_t vtc_error; /* Error encountered */
int vtc_stop; /* Stops current test without error */
pthread_t vtc_thread;
static struct vtclog *vltop;
int in_tree = 0; /* Are we running in-tree */
/**********************************************************************
* Macro facility
......@@ -238,18 +237,6 @@ extmacro_def(const char *name, const char *fmt, ...)
}
}
const char *
extmacro_get(const char *name)
{
struct extmacro *m;
VTAILQ_FOREACH(m, &extmacro_list, list)
if (!strcmp(name, m->name))
return (m->val);
return (NULL);
}
/**********************************************************************
* Execute a file
*/
......
......@@ -85,4 +85,3 @@ void macro_def(struct vtclog *vl, const char *instance, const char *name,
struct vsb *macro_expand(struct vtclog *vl, const char *text);
void extmacro_def(const char *name, const char *fmt, ...);
const char *extmacro_get(const char *name);
......@@ -586,7 +586,7 @@ cmd_http_gunzip_body(CMD_ARGS)
*/
static void
gzip_body(struct http *hp, const char *txt, char **body, int *bodylen)
gzip_body(const struct http *hp, const char *txt, char **body, int *bodylen)
{
int l, i;
z_stream vz;
......
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