Break out more header info into separate files. Use appropriate header files
throughout. * shared.h: Remove. * cygwin_version.h: New file. * delqueue.h: New file. * environ.h: New file. * host_dependent.h: New file. * perprocess.h: New file. * registry.h: New file. * security.h: New file.
This commit is contained in:
@@ -31,6 +31,7 @@ details. */
|
||||
#include "sync.h"
|
||||
#include "sigproc.h"
|
||||
#include "pinfo.h"
|
||||
#include "registry.h"
|
||||
|
||||
/* We only want to initialize WinSock in a child process if socket
|
||||
handles are inheritted. This global allows us to know whether this
|
||||
@@ -76,7 +77,6 @@ extern "C"
|
||||
unsigned long int
|
||||
htonl (unsigned long int x)
|
||||
{
|
||||
MARK ();
|
||||
return ((((x & 0x000000ffU) << 24) |
|
||||
((x & 0x0000ff00U) << 8) |
|
||||
((x & 0x00ff0000U) >> 8) |
|
||||
@@ -96,7 +96,6 @@ extern "C"
|
||||
unsigned short
|
||||
htons (unsigned short x)
|
||||
{
|
||||
MARK ();
|
||||
return ((((x & 0x000000ffU) << 8) |
|
||||
((x & 0x0000ff00U) >> 8)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user