projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compiler warnings.
[collection4.git]
/
action_list_graphs.c
diff --git
a/action_list_graphs.c
b/action_list_graphs.c
index
0663b98
..
4ec9a30
100644
(file)
--- a/
action_list_graphs.c
+++ b/
action_list_graphs.c
@@
-4,6
+4,7
@@
#include <errno.h>
#include "action_list_graphs.h"
#include <errno.h>
#include "action_list_graphs.h"
+#include "graph.h"
#include "graph_list.h"
#include "utils_params.h"
#include "graph_list.h"
#include "utils_params.h"
@@
-20,7
+21,7
@@
static int print_graph_inst_json (__attribute__((unused)) graph_config_t *cfg, /
first = user_data;
first = user_data;
- ident =
gl_instance
_get_selector (inst);
+ ident =
inst
_get_selector (inst);
if (ident == NULL)
return (-1);
if (ident == NULL)
return (-1);
@@
-68,7
+69,7
@@
static int print_graph_inst_html (graph_config_t *cfg, /* {{{ */
char buffer[1024];
memset (buffer, 0, sizeof (buffer));
char buffer[1024];
memset (buffer, 0, sizeof (buffer));
-
gl_instance
_get_params (cfg, inst, buffer, sizeof (buffer));
+
inst
_get_params (cfg, inst, buffer, sizeof (buffer));
printf ("<li><a href=\"test.fcgi?action=graph;%s\">%s</a></li>\n", buffer, buffer);
printf ("<li><a href=\"test.fcgi?action=graph;%s\">%s</a></li>\n", buffer, buffer);
@@
-81,7
+82,7
@@
static int print_graph_html (graph_config_t *cfg, /* {{{ */
char buffer[1024];
memset (buffer, 0, sizeof (buffer));
char buffer[1024];
memset (buffer, 0, sizeof (buffer));
- g
l_g
raph_get_title (cfg, buffer, sizeof (buffer));
+ graph_get_title (cfg, buffer, sizeof (buffer));
printf ("<li>%s\n<ul>\n", buffer);
gl_graph_instance_get_all (cfg, print_graph_inst_html, /* user_data = */ NULL);
printf ("<li>%s\n<ul>\n", buffer);
gl_graph_instance_get_all (cfg, print_graph_inst_html, /* user_data = */ NULL);