Skip to contentSkip to conversation

dlm/ast.c: include ast.h to pickup function definitions

PATCH New H Hartley Sweeten 1 participant 1 message Sep 23, 2011 Distributed lock manager (DLM)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dlm/ast.c: include ast.h to pickup function definitions

This quiets the following sparse noise:

warning: symbol 'dlm_add_lkb_callback' was not declared. Should it be static?
warning: symbol 'dlm_rem_lkb_callback' was not declared. Should it be static?
warning: symbol 'dlm_add_cb' was not declared. Should it be static?
warning: symbol 'dlm_callback_work' was not declared. Should it be static?
warning: symbol 'dlm_callback_start' was not declared. Should it be static?
warning: symbol 'dlm_callback_stop' was not declared. Should it be static?
warning: symbol 'dlm_callback_suspend' was not declared. Should it be static?
warning: symbol 'dlm_callback_resume' was not declared. Should it be static?

Cc Christine Caulfield <[email protected]>
Cc David Teigland <[email protected]>

---

fs/dlm/ast.c +1 -0
index 90e5997..43f33c0 100644
@@ -12,6 +12,7 @@
 ******************************************************************************/
 
 #include "dlm_internal.h"
+#include "ast.h"
 #include "lock.h"
 #include "user.h"