You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
386 B

diff --git a/src/addrwatch_mysql.c b/src/addrwatch_mysql.c
index 389153f..b4ed760 100644
--- a/src/addrwatch_mysql.c
+++ b/src/addrwatch_mysql.c
@@ -232,7 +232,7 @@ void db_disconnect(struct ctx_s *data)
data->dbh = NULL;
}
-inline void db_reconnect(struct ctx_s *data) {
+static inline void db_reconnect(struct ctx_s *data) {
while (1) {
if (data->dbh)
db_disconnect(data);