- Updated API files
- Better headers and prototype checking
- Prototype checking now called --prototype instead of --headers
- New options --headers-{duplicated,misplaced} for
  duplicated/misplaced functions checking of the headers.
- Minor bug fixes.

diff --git a/tools/winapi_check/nativeapi.dat b/tools/winapi_check/nativeapi.dat
index 8a3de0f..6e0c0af 100644
--- a/tools/winapi_check/nativeapi.dat
+++ b/tools/winapi_check/nativeapi.dat
@@ -16,6 +16,7 @@
 _xmknod
 _xstat
 abs
+accept
 access
 acos
 asctime
@@ -26,14 +27,18 @@
 atof
 atoi
 atol
+bind
 bsearch
 bzero
 calloc
 ceil
 cfgetospeed
 chmod
+clock
 close
 closedir
+closesocket
+connect
 cos
 cosh
 ctime
@@ -66,23 +71,39 @@
 fread
 free
 frexp
+freopen
+fscanf
 fseek
 fsetpos
 fsync
+ftell
 ftruncate
 fwrite
+getc
 getcwd
 getenv
+gethostbyaddr
+gethostbyname
+gethostname
 getlogin
 getnetbyname
+getpeername
 getpid
 getpwuid
+gets
+getservbyname
+getsockname
 gettimeofday
 getuid
 gmtime
+htonl
+htons
 hypot
+inet_addr
 inet_network
+inet_ntoa
 ioctl
+ioctlsocket
 isalnum
 isalpha
 isatty
@@ -102,6 +123,7 @@
 labs
 ldexp
 ldiv
+listen
 localtime
 log
 log10
@@ -121,6 +143,8 @@
 mprotect
 msync
 munmap
+ntohl
+ntohs
 open
 opendir
 perror
@@ -128,6 +152,7 @@
 poll
 pow
 printf
+putc
 putchar
 putenv
 puts
@@ -137,19 +162,25 @@
 read
 readdir
 realloc
+recv
+recvfrom
 remove
 rename
 rmdir
 select
+send
+sendto
 setbuf
 setlocale
 setsid
+setsockopt
 settimeofday
 setvbuf
 shmat
 shmctl
 shmdt
 shmget
+shutdown
 sigaction
 sigaddset
 sigaltstack
@@ -160,6 +191,7 @@
 sin
 sinh
 sleep
+socket
 snprintf
 sprintf
 sqrt