diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-01-04 13:37:59 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-01-04 13:37:59 +0100 |
commit | 2ae9612e7a248d57938adde5722ba552c027521e (patch) | |
tree | 3e560f6f07114033e773c4df71775d98f811ff4f /src/lib/eina_graph.c | |
parent | 731a4848cd46ee02b012c601adc6ecb158a8718b (diff) | |
download | eina_graph-2ae9612e7a248d57938adde5722ba552c027521e.zip eina_graph-2ae9612e7a248d57938adde5722ba552c027521e.tar.gz |
Eina_Graph_Adjacents is private struct -> add '_' prefix
Diffstat (limited to 'src/lib/eina_graph.c')
-rw-r--r-- | src/lib/eina_graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina_graph.c b/src/lib/eina_graph.c index 9e6569b..ac42012 100644 --- a/src/lib/eina_graph.c +++ b/src/lib/eina_graph.c @@ -38,7 +38,7 @@ eina_graph_new(unsigned int v, unsigned int step) { _Eina_Graph *_g; - _g = calloc(1, sizeof(_Eina_Graph) + (v * sizeof(Eina_Graph_Adjacents))); + _g = calloc(1, sizeof(_Eina_Graph) + (v * sizeof(_Eina_Graph_Adjacents))); if (!_g) { ERR("calloc failed : %s", strerror(errno)); @@ -47,7 +47,7 @@ eina_graph_new(unsigned int v, unsigned int step) _g->step = step; _g->vertices = v; - _g->adjs = (Eina_Graph_Adjacents *) ((char *) _g + sizeof(_Eina_Graph)); + _g->adjs = (_Eina_Graph_Adjacents *) ((char *) _g + sizeof(_Eina_Graph)); return (Eina_Graph *) _g; } |