"missing-prototypes" warning under standard kernel compile options
This fixes a "missing-prototypes" compiler warning under the standard kernel compile warning options. It wants to see a prior declaration for externally-visible functions. The function at issue does not need to be externally-visible, so make it static.
drbd_actlog.c:239:1: warning: no previous prototype for ‘set_bme_priority’ [-Wmissing-prototypes]
set_bme_priority(struct get_activity_log_ref_ctx *al_ctx)
drbd/drbd_actlog.c +1 -1
@@ -235,7 +235,7 @@ find_active_resync_extent(struct get_activity_log_ref_ctx *al_ctx)return NULL ; } -void +static void set_bme_priority (struct get_activity_log_ref_ctx *al_ctx) {struct drbd_peer_device *peer_device;