diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-08 12:40:27 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-09 00:57:58 +0900 |
commit | e2f988e458cb9ba80b29ad01352d264896d4c7d8 (patch) | |
tree | c75e92ad016eaa4b07b80fb1c649ccc4e496bcb7 /ddb/db_mp.h | |
parent | b8e3e8d4b938160d50b7e253e1acd08b1b90b0f0 (diff) |
ddb/db_mp.c: definition of db_console() only if CONSOLE_ON_MASTER
Function db_console() is called only if CONSOLE_ON_MASTER.
If it stays this way, db_console() will not compile. I don't know
if it should be removed. Maybe someone will rewrite it.
* ddb/db_mp.c (db_console): Definition only if CONSOLE_ON_MASTER.
* ddb/db_mp.h [CONSOLE_ON_MASTER] (db_console): Add prototype.
Diffstat (limited to 'ddb/db_mp.h')
-rw-r--r-- | ddb/db_mp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ddb/db_mp.h b/ddb/db_mp.h index a163d99..722f28c 100644 --- a/ddb/db_mp.h +++ b/ddb/db_mp.h @@ -23,4 +23,8 @@ void remote_db(void); void lock_db(void); void unlock_db(void); +#if CONSOLE_ON_MASTER +void db_console(void); +#endif /* CONSOLE_ON_MASTER */ + #endif /* _DDB_DB_MP_H_ */ |