Simon Josefsson <simon <at> josefsson.org> writes: > > flock.c:186: warning: implicit declaration of function 'memset' > > flock.c:186: warning: incompatible implicit declaration of built-in function 'memset' > > This one also seems simple. Patch below. Will push unless there are > objections.
Push both of your simple fixes, but with one modification: > * lib/flock.c: Need to include errno.h. Reported by "Tom > G. Christensen" <tgc <at> jupiterrise.com>. You also need to include <string.h> to supply memset. -- Eric Blake