Trying to compile for FreeBSD: cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c generator.c -o generator.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c receiver.c -o receiver.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c cleanup.c -o cleanup.occ -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c generator.c -o generator.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c receiver.c -o receiver.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c cleanup.c -o cleanup.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c sender.c -o sender.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c exclude.c -o exclude.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c util.c -o util.o util.c: In function 'try_a_force_change': util.c:141: error: 'ret' undeclared (first use in this function) util.c:141: error: (Each undeclared identifier is reported only once util.c:141: error: for each function it appears in.) *** Error code 1 cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c sender.c -o sender.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c exclude.c -o exclude.o cc -std=gnu99 -I. -I. -O2 -pipe -march=nocona -I/usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -Wall -W -I./popt -c util.c -o util.o util.c: In function 'try_a_force_change': util.c:141: error: 'ret' undeclared (first use in this function) util.c:141: error: (Each undeclared identifier is reported only once util.c:141: error: for each function it appears in.) *** Error code 1 Trivial fix follows, although I think this code should be reviewed.
Created attachment 6275 [details] trivial fix
Thanks. Fixed in the git repo.