Fixed warning in fsutil.

This commit is contained in:
Sergey
2014-09-13 15:17:30 -07:00
parent 8d55f87ab8
commit 93d95abc69
3 changed files with 6 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ all: $(PROG)
install: $(PROG)
install -s $(PROG) ${DESTDIR}/bin/$(PROG)
clean:
rm -f *~ *.o *.lst *.dis $(PROG)
rm -rf *~ *.o *.lst *.dis $(PROG) $(PROG).dSYM
$(PROG): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

View File

@@ -131,7 +131,11 @@ static void add_entry (manifest_t *m, int filetype, char *path, char *link,
/*
* Compare two entries of file traverse scan.
*/
#ifdef __APPLE__
static int ftsent_compare (const FTSENT *const *a, const FTSENT *const *b)
#else
static int ftsent_compare (const FTSENT **a, const FTSENT **b)
#endif
{
return strcmp((*a)->fts_name, (*b)->fts_name);
}

View File

@@ -1,5 +1,5 @@
#
# Skeleton of manifest file.
# Example of manifest file.
#
default
owner 0