mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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>
This commit is contained in:
1 parent
b261178a52
commit
6db772d648
1 file changed
-6
@@ -15,12 +15,6 @@
|
||||
#include <stdlib.h> // free()
|
||||
#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)
|
||||
// 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().
|
||||
|
||||
Reference in new issue
Block a user