cmd/dist: add -Wstrict-prototypes to CFLAGS and fix all the compiler errors
Plan 9 compilers insist this but as we don't have Plan 9
builders, we'd better let gcc check the prototypes.

Inspired by CL 7289050.

R=golang-dev, seed, dave, rsc, lucio.dere
CC=akumar, golang-dev
https://codereview.appspot.com/7288056
exp/inotify: close event channel before file descriptor

Closing the inotify file descriptor can take over a second
when running on Ubuntu Precise in an NFS directory, leading to
the test error in issue 3132.  Closing the event channel first
lets a client that does not care about the error channel move
on.

Fixes issue 3132.

R=golang-dev, dave, rsc
CC=golang-dev
https://codereview.appspot.com/7300045
lib9: fix build for windows

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7311044
runtime: save LR to stack when panicking to handle leaf function traceback

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7289047
log/syslog: retry once if write fails

Implements deferred connections + single-attempt automatic
retry. Based on CL 5078042 from kuroneko.

Fixes issue 2264.

R=mikioh.mikioh, rsc, bradfitz
CC=golang-dev
https://codereview.appspot.com/6782140

Committer: Brad Fitzpatrick <bradfitz@golang.org>