Skip to content

Commit

Permalink
Fixing an issue for compilation (pointers to function)
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Holzschuch committed Mar 22, 2024
1 parent f261d16 commit 8e9949a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bsd_find/find.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$");
#include "ios_error.h"


static int find_compare(const FTSENT * const *s1, const FTSENT * const *s2);
static int find_compare(const FTSENT **s1, const FTSENT **s2);

/*
* find_compare --
Expand All @@ -66,7 +66,7 @@ static int find_compare(const FTSENT * const *s1, const FTSENT * const *s2);
* order within each directory.
*/
static int
find_compare(const FTSENT * const *s1, const FTSENT * const *s2)
find_compare(const FTSENT **s1, const FTSENT **s2)
{

return (strcoll((*s1)->fts_name, (*s2)->fts_name));
Expand Down

0 comments on commit 8e9949a

Please sign in to comment.