summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:31 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 07:11:11 +0900
commit1156497c0ae4e18db9333901bbdd559b30099ae5 (patch)
tree0240967ec00f21b514412c428525a3f8a3038a63
parent16fda8b0bf4a05a35bdeaa798ff8432461634827 (diff)
ddb/db_variables.c: fix near initialization
* ddb/db_task_thread.c (db_set_default_thread): New parameter. * ddb/db_task_thread.h (db_set_default_thread): Likewise.
-rw-r--r--ddb/db_task_thread.c3
-rw-r--r--ddb/db_task_thread.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/ddb/db_task_thread.c b/ddb/db_task_thread.c
index 21ec3dd..f420b8d 100644
--- a/ddb/db_task_thread.c
+++ b/ddb/db_task_thread.c
@@ -246,10 +246,11 @@ db_init_default_thread(void)
*/
/* ARGSUSED */
void
-db_set_default_thread(vp, valuep, flag)
+db_set_default_thread(vp, valuep, flag, ap)
struct db_variable *vp;
db_expr_t *valuep;
int flag;
+ db_var_aux_param_t ap;
{
thread_t thread;
diff --git a/ddb/db_task_thread.h b/ddb/db_task_thread.h
index 0c7fafa..e6ae114 100644
--- a/ddb/db_task_thread.h
+++ b/ddb/db_task_thread.h
@@ -54,7 +54,8 @@ extern void
db_set_default_thread(
struct db_variable *vp,
db_expr_t *valuep,
- int flag);
+ int flag,
+ db_var_aux_param_t ap);
extern void
db_get_task_thread(