diff options
author | Christopher Faylor <me@cgf.cx> | 2000-09-08 02:56:55 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-09-08 02:56:55 +0000 |
commit | f0338f545d769143f542338b4d61f771b5a87f93 (patch) | |
tree | b9d5b53c28100c35e10c0232c0e54ce474d6cc7c /winsup/cygwin/net.cc | |
parent | 42b6d9648fdd3f78806ac0556338f8fb13707821 (diff) | |
download | cygnal-f0338f545d769143f542338b4d61f771b5a87f93.tar.gz cygnal-f0338f545d769143f542338b4d61f771b5a87f93.tar.bz2 cygnal-f0338f545d769143f542338b4d61f771b5a87f93.zip |
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.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 4f1a8a0be..f140bdc83 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -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))); } |