Browse Source

src: remove unused #include statement

strcasecmp() is not used in src/node_http_parser.cc so there is no need
to include its header file.

PR-URL: https://github.com/nodejs/node/pull/6582
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
process-exit-stdio-flushing
Ben Noordhuis 9 years ago
parent
commit
6db772d648
  1. 6
      src/node_http_parser.cc

6
src/node_http_parser.cc

@ -15,12 +15,6 @@
#include <stdlib.h> // free() #include <stdlib.h> // free()
#include <string.h> // strdup() #include <string.h> // strdup()
#if defined(_MSC_VER)
#define strcasecmp _stricmp
#else
#include <strings.h> // strcasecmp()
#endif
// This is a binding to http_parser (https://github.com/joyent/http-parser) // This is a binding to http_parser (https://github.com/joyent/http-parser)
// The goal is to decouple sockets from parsing for more javascript-level // The goal is to decouple sockets from parsing for more javascript-level
// agility. A Buffer is read from a socket and passed to parser.execute(). // agility. A Buffer is read from a socket and passed to parser.execute().

Loading…
Cancel
Save