Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
3d5241e4
Commit
3d5241e4
authored
Sep 07, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decorate with prototypes
parent
d1af7ce1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
varnishstat.c
bin/varnishstat/varnishstat.c
+5
-5
varnishstat_curses.c
bin/varnishstat/varnishstat_curses.c
+1
-1
No files found.
bin/varnishstat/varnishstat.c
View file @
3d5241e4
...
@@ -52,7 +52,7 @@ static const char progname[] = "varnishstat";
...
@@ -52,7 +52,7 @@ static const char progname[] = "varnishstat";
/*--------------------------------------------------------------------*/
/*--------------------------------------------------------------------*/
static
int
static
int
__match_proto__
(
VSC_iter_f
)
do_xml_cb
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
do_xml_cb
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
{
{
uint64_t
val
;
uint64_t
val
;
...
@@ -90,7 +90,7 @@ do_xml(struct vsm *vsm, struct vsc *vsc)
...
@@ -90,7 +90,7 @@ do_xml(struct vsm *vsm, struct vsc *vsc)
/*--------------------------------------------------------------------*/
/*--------------------------------------------------------------------*/
static
int
static
int
__match_proto__
(
VSC_iter_f
)
do_json_cb
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
do_json_cb
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
{
{
uint64_t
val
;
uint64_t
val
;
...
@@ -149,7 +149,7 @@ struct once_priv {
...
@@ -149,7 +149,7 @@ struct once_priv {
int
pad
;
int
pad
;
};
};
static
int
static
int
__match_proto__
(
VSC_iter_f
)
do_once_cb_first
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
do_once_cb_first
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
{
{
struct
once_priv
*
op
;
struct
once_priv
*
op
;
...
@@ -166,7 +166,7 @@ do_once_cb_first(void *priv, const struct VSC_point * const pt)
...
@@ -166,7 +166,7 @@ do_once_cb_first(void *priv, const struct VSC_point * const pt)
return
(
1
);
return
(
1
);
}
}
static
int
static
int
__match_proto__
(
VSC_iter_f
)
do_once_cb
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
do_once_cb
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
{
{
struct
once_priv
*
op
;
struct
once_priv
*
op
;
...
@@ -207,7 +207,7 @@ do_once(struct vsm *vsm, struct vsc *vsc)
...
@@ -207,7 +207,7 @@ do_once(struct vsm *vsm, struct vsc *vsc)
/*--------------------------------------------------------------------*/
/*--------------------------------------------------------------------*/
static
int
static
int
__match_proto__
(
VSC_iter_f
)
do_list_cb
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
do_list_cb
(
void
*
priv
,
const
struct
VSC_point
*
const
pt
)
{
{
int
i
;
int
i
;
...
...
bin/varnishstat/varnishstat_curses.c
View file @
3d5241e4
...
@@ -255,7 +255,7 @@ struct pt_priv {
...
@@ -255,7 +255,7 @@ struct pt_priv {
unsigned
n_ptlist
;
unsigned
n_ptlist
;
};
};
static
int
static
int
__match_proto__
(
VSC_iter_f
)
build_pt_list_cb
(
void
*
priv
,
const
struct
VSC_point
*
vpt
)
build_pt_list_cb
(
void
*
priv
,
const
struct
VSC_point
*
vpt
)
{
{
struct
pt_priv
*
pt_priv
;
struct
pt_priv
*
pt_priv
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment