From: Andre Noll Date: Thu, 9 Apr 2015 13:57:45 +0000 (+0000) Subject: aft.c: Clean up aft_hash_compare(). X-Git-Tag: v0.5.6~95 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=6fc2a2c87ba41ed207aa36e9818819cf28c70db1 aft.c: Clean up aft_hash_compare(). This function is static and hence does not need doxygen comments. Also break two overlong lines. --- diff --git a/aft.c b/aft.c index 102856ba..f2c1edab 100644 --- a/aft.c +++ b/aft.c @@ -241,19 +241,12 @@ enum audio_file_table_columns { NUM_AFT_COLUMNS }; -/** - * Compare two osl objects pointing to hash values. - * - * \param obj1 Pointer to the first hash object. - * \param obj2 Pointer to the second hash object. - * - * \return The values required for an osl compare function. - * - * \sa osl_compare_func, uint32_compare(). - */ -static int aft_hash_compare(const struct osl_object *obj1, const struct osl_object *obj2) +/* compare function for the hash column */ +static int aft_hash_compare(const struct osl_object *obj1, + const struct osl_object *obj2) { - return hash_compare((unsigned char *)obj1->data, (unsigned char *)obj2->data); + return hash_compare((unsigned char *)obj1->data, + (unsigned char *)obj2->data); } static struct osl_column_description aft_cols[] = {