Fix error in header guard in bus.h

Spotted by clang

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Fix compilation on Red Hat 5.x

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Rob Sciuk added to the AUTHORS file

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Apply CLOEXEC on epoll's pollset fd even if EPOLL_CLOEXEC is not defined

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
int.h header file added

The header file hides differeces between platforms when it
comes to defining fixed integer types.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Fix compilation warnings on FreeBSD

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Remaining references to stdint.h removed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Fix checking for semaphore support on Solaris

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Remove bashisms from abi_version.sh

This is needed to build on Solaris

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
bashisms remvoed from package_version.sh

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Implement `make diagrams` command

The script scans `.c` files for state machines and draws them using
graphviz. Diagrams are not perfect, but helpful anyway. Also a quick and
dirty html page is generated.

Signed-off-by: Paul Colomiets <paul@colomiets.name>
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
make diagrams works even if destination subdirectory already exists

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Merge branch 'master' of github.com:250bpm/nanomsg
Merge branch 'master' into master-sonar