diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-20 13:53:48 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-20 21:45:13 +0100 |
commit | 48d8537b52ce4308ba0a7c54e5504d128edb9335 (patch) | |
tree | 355f3c89cf4adc9a4223c02933df3c2b5e4403ed /ddb | |
parent | 5e640ccf813a28e117796f9c67f2b6b0aa73d1d3 (diff) |
ddb: fix implicit declaration of function
* ddb/db_variables.c (db_read_write_variable): Remove forward declaration.
* ddb/db_variables.h (db_read_write_variable): Add prototype.
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_variables.c | 3 | ||||
-rw-r--r-- | ddb/db_variables.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ddb/db_variables.c b/ddb/db_variables.c index 055d6e4..54fc06c 100644 --- a/ddb/db_variables.c +++ b/ddb/db_variables.c @@ -143,9 +143,6 @@ db_find_variable(varp, ap) return (0); } - -void db_read_write_variable(); /* forward */ - int db_get_variable(valuep) db_expr_t *valuep; diff --git a/ddb/db_variables.h b/ddb/db_variables.h index af7068f..81d4cfe 100644 --- a/ddb/db_variables.h +++ b/ddb/db_variables.h @@ -82,4 +82,6 @@ extern int db_get_variable(db_expr_t *valuep); void db_set_cmd(); +void db_read_write_variable(struct db_variable *, db_expr_t *, int, struct db_var_aux_param *); + #endif /* _DB_VARIABLES_H_ */ |