Skip to content

Commit

Permalink
src: apply clang-tidy modernize-deprecated-headers found by Jenkins CI
Browse files Browse the repository at this point in the history
PR-URL: #27279
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
gengjiawen authored and targos committed Apr 27, 2019
1 parent 2f9bafb commit 8089d29
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/js_native_api_v8.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <limits.h> // INT_MAX
#include <climits> // INT_MAX
#include <cmath>
#include <algorithm>
#define NAPI_EXPERIMENTAL
Expand Down
20 changes: 11 additions & 9 deletions src/large_pages/node_large_page.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,21 @@
//
// SPDX-License-Identifier: MIT

#include <errno.h> // NOLINT(build/include)
#include <fcntl.h> // _O_RDWR
#include <limits.h> // PATH_MAX
#include <locale.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "node_large_page.h"

#include <fcntl.h> // _O_RDWR
#include <sys/types.h>
#include <sys/mman.h>
#include <unistd.h> // readlink

#include <cerrno> // NOLINT(build/include)
#include <climits> // PATH_MAX
#include <clocale>
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <cstdint>
#include <cstring>
#include <string>
#include <fstream>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion src/node_object_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define SRC_NODE_OBJECT_WRAP_H_

#include "v8.h"
#include <assert.h>
#include <cassert>


namespace node {
Expand Down

0 comments on commit 8089d29

Please sign in to comment.