diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-09-05 19:05:54 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-09-08 20:13:44 (GMT) |
commit | fe884ef58959412972a5a84231d1ee06f34a80be (patch) | |
tree | 6a5177a8c92d2e643d42768135fb0c7192756b56 /src/analysis/db/items | |
parent | cb74c4467fc623fbca4aad3b07abda3ed1246590 (diff) |
Fixed a bug by transfering variable argument lists properly.
Diffstat (limited to 'src/analysis/db/items')
-rw-r--r-- | src/analysis/db/items/bookmark.c | 5 | ||||
-rw-r--r-- | src/analysis/db/items/comment.c | 4 | ||||
-rw-r--r-- | src/analysis/db/items/move.c | 4 | ||||
-rw-r--r-- | src/analysis/db/items/switcher.c | 4 |
4 files changed, 9 insertions, 8 deletions
diff --git a/src/analysis/db/items/bookmark.c b/src/analysis/db/items/bookmark.c index be75d0f..747053c 100644 --- a/src/analysis/db/items/bookmark.c +++ b/src/analysis/db/items/bookmark.c @@ -24,6 +24,7 @@ #include "bookmark.h" +#include <stdarg.h> #include <stdio.h> #include <sys/socket.h> @@ -137,7 +138,7 @@ static bool g_bookmark_collection_create_db_table(const GBookmarkCollection *, s static bool g_bookmark_collection_setup_load(GBookmarkCollection *, bound_value **, size_t *); /* Détermine si un élément est déjà présent ou non. */ -static GDbItem *g_bookmark_collection_has_key(GBookmarkCollection *, va_list *); +static GDbItem *g_bookmark_collection_has_key(GBookmarkCollection *, va_list); @@ -814,7 +815,7 @@ static bool g_bookmark_collection_setup_load(GBookmarkCollection *collec, bound_ * * ******************************************************************************/ -static GDbItem *g_bookmark_collection_has_key(GBookmarkCollection *collec, va_list *ap) +static GDbItem *g_bookmark_collection_has_key(GBookmarkCollection *collec, va_list ap) { GDbItem *result; /* Bilan à retourner */ vmpa2t *ref; /* Adresse de référence */ diff --git a/src/analysis/db/items/comment.c b/src/analysis/db/items/comment.c index 8b9c25f..f601bd6 100644 --- a/src/analysis/db/items/comment.c +++ b/src/analysis/db/items/comment.c @@ -151,7 +151,7 @@ static bool g_comment_collection_create_db_table(const GCommentCollection *, sql static bool g_comment_collection_setup_load(GCommentCollection *, bound_value **, size_t *); /* Détermine si un élément est déjà présent ou non. */ -static GDbItem *g_comment_collection_has_key(GCommentCollection *, va_list *); +static GDbItem *g_comment_collection_has_key(GCommentCollection *, va_list); @@ -1121,7 +1121,7 @@ static bool g_comment_collection_setup_load(GCommentCollection *collec, bound_va * * ******************************************************************************/ -static GDbItem *g_comment_collection_has_key(GCommentCollection *collec, va_list *ap) +static GDbItem *g_comment_collection_has_key(GCommentCollection *collec, va_list ap) { GDbItem *result; /* Bilan à retourner */ vmpa2t *ref; /* Adresse de référence */ diff --git a/src/analysis/db/items/move.c b/src/analysis/db/items/move.c index 6cf1592..ad574b0 100644 --- a/src/analysis/db/items/move.c +++ b/src/analysis/db/items/move.c @@ -144,7 +144,7 @@ static bool g_move_collection_create_db_table(const GMoveCollection *, sqlite3 * static bool g_move_collection_setup_load(GMoveCollection *, bound_value **, size_t *); /* Détermine si un élément est déjà présent ou non. */ -static GDbItem *g_move_collection_has_key(GMoveCollection *, va_list *); +static GDbItem *g_move_collection_has_key(GMoveCollection *, va_list); @@ -792,7 +792,7 @@ static bool g_move_collection_setup_load(GMoveCollection *collec, bound_value ** * * ******************************************************************************/ -static GDbItem *g_move_collection_has_key(GMoveCollection *collec, va_list *ap) +static GDbItem *g_move_collection_has_key(GMoveCollection *collec, va_list ap) { GDbItem *result; /* Bilan à retourner */ vmpa2t *ref; /* Adresse de référence */ diff --git a/src/analysis/db/items/switcher.c b/src/analysis/db/items/switcher.c index 40a218c..e9182b4 100644 --- a/src/analysis/db/items/switcher.c +++ b/src/analysis/db/items/switcher.c @@ -144,7 +144,7 @@ static bool g_switcher_collection_create_db_table(const GSwitcherCollection *, s static bool g_switcher_collection_setup_load(GSwitcherCollection *, bound_value **, size_t *); /* Détermine si un élément est déjà présent ou non. */ -static GDbItem *g_switcher_collection_has_key(GSwitcherCollection *, va_list *); +static GDbItem *g_switcher_collection_has_key(GSwitcherCollection *, va_list); @@ -944,7 +944,7 @@ static bool g_switcher_collection_setup_load(GSwitcherCollection *collec, bound_ * * ******************************************************************************/ -static GDbItem *g_switcher_collection_has_key(GSwitcherCollection *collec, va_list *ap) +static GDbItem *g_switcher_collection_has_key(GSwitcherCollection *collec, va_list ap) { GDbItem *result; /* Bilan à retourner */ vmpa2t *ref; /* Adresse de référence */ |