Commit ebbbad96 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Flexelinting

parent 731c2182
......@@ -73,7 +73,7 @@
} while (0)
static double timeout = 5; // XXX should be settable by arg ?
static const double timeout = 5; // XXX should be settable by arg ?
static void
cli_write(int sock, const char *s)
......
......@@ -66,7 +66,6 @@ void HSH_DeleteObjHead(const struct worker *, struct objhead *);
int HSH_DerefObjCore(struct worker *, struct objcore **, int rushmax);
#define HSH_RUSH_POLICY -1
#define HSH_RUSH_ALL INT_MAX
enum lookup_e HSH_Lookup(struct req *, struct objcore **, struct objcore **);
void HSH_Ref(struct objcore *o);
......
......@@ -50,7 +50,9 @@ const char * const VCL_TEMP_COLD = "cold";
const char * const VCL_TEMP_WARM = "warm";
const char * const VCL_TEMP_BUSY = "busy";
const char * const VCL_TEMP_COOLING = "cooling";
const char * const VCL_TEMP_LABEL = "label";
// not really a state
static const char * const VCL_TEMP_LABEL = "label";
/*
* XXX: Presently all modifications to this list happen from the
......
......@@ -75,7 +75,6 @@ extern const char * const VCL_TEMP_COLD;
extern const char * const VCL_TEMP_WARM;
extern const char * const VCL_TEMP_BUSY;
extern const char * const VCL_TEMP_COOLING;
extern const char * const VCL_TEMP_LABEL;
/*
* NB: The COOLING temperature is neither COLD nor WARM.
......
......@@ -72,7 +72,8 @@
// Macros defined differently in each VMOD
-esym(767, VPFX) // macro '___' was defined differently in another module
-esym(767, VARGS) // macro '___' was defined differently in another module
-esym(767, VENUM) // macro '___' was defined differently in another module
-esym(767, VENUM) // macro '___' was defined differently in another module
-esym(14, enum_vmod*) // Symbol '___' previously defined (___)
//////////////
-efunc(1791, pdiff) // return last on line
//////////////
......
......@@ -32,13 +32,13 @@
#include <sys/types.h>
enum encoding {
_INVALID = 0,
__INVALID_ENCODING = 0,
#define VMODENUM(x) x,
#include "tbl_encodings.h"
__MAX_ENCODING
};
#define AENC(enc) assert((enc) > _INVALID && (enc) < __MAX_ENCODING)
#define AENC(enc) assert((enc) > __INVALID_ENCODING && (enc) < __MAX_ENCODING)
/*
* The enums MUST appear in this order, since LOWER and UPPER are used to
......
......@@ -41,7 +41,7 @@
/*lint -esym(749, shard_change_task_e::*) */
enum shard_change_task_e {
_INVALID = 0,
_SHARD_TASK_E_INVALID = 0,
CLEAR,
ADD_BE,
REMOVE_BE,
......
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