*
* \param fd The afs socket.
* \param query Unused.
+ *
+ * \return Currently this function always returns zero.
*/
-void mood_check_callback(int fd, __a_unused const struct osl_object *query)
+int mood_check_callback(int fd, __a_unused const struct osl_object *query)
{
struct para_buffer pb = {
.max_size = shm_get_shmmax(),
osl_rbtree_loop(moods_table, BLOBCOL_ID, &pb,
check_mood);
flush_and_free_pb(&pb);
+ return 0;
}
static int64_t normalized_value(int64_t x, int64_t n, int64_t sum, int64_t qd)