Skip to content

Commit e33fd5a

Browse files
fix: remove stdio.h in favor of cstdio to resolve clang-tidy warnings
Signed-off-by: Jorge Ferreira <jorge.ferreira@precisioninno.com>
1 parent 8f76516 commit e33fd5a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/web/src/web_serve.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// references (which would require the full gui library including Qt
77
// SWIG wrappers and ord::OpenRoad symbols).
88

9-
#include <stdio.h>
10-
119
#include <cstdint>
1210
#include <cstdio>
1311
#include <cstdlib>
@@ -290,6 +288,7 @@ void WebServer::stop()
290288
// from another thread, so without this the user would have to press
291289
// Enter to see a live prompt. Purely visual — readline's input state
292290
// is untouched.
291+
// NOLINTNEXTLINE(misc-include-cleaner)
293292
if (isatty(fileno(stdout))) {
294293
std::fputs("openroad> ", stdout);
295294
std::fflush(stdout);

0 commit comments

Comments
 (0)