aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinayak Dev <104419489+vinayakdsci@users.noreply.github.com>2024-03-27 01:46:35 +0530
committerGitHub <noreply@github.com>2024-03-26 13:16:35 -0700
commit2d97ba22f8ca0fbb8896fd0f54c0cd7c69f4d0cd (patch)
treebcff9d65745b85518fe24b8a35eb37c7b5df5c59
parent3e6e54eb795ce7a1ccd47df8c22fc08125a88886 (diff)
downloadllvm-2d97ba22f8ca0fbb8896fd0f54c0cd7c69f4d0cd.zip
llvm-2d97ba22f8ca0fbb8896fd0f54c0cd7c69f4d0cd.tar.gz
llvm-2d97ba22f8ca0fbb8896fd0f54c0cd7c69f4d0cd.tar.bz2
[libc]: Remove unused includes from strfrom*.cpp (#86657)
Removes unused header includes from `strfrom*()` implementation files.
-rw-r--r--libc/src/stdlib/strfromd.cpp3
-rw-r--r--libc/src/stdlib/strfromf.cpp3
-rw-r--r--libc/src/stdlib/strfroml.cpp3
3 files changed, 0 insertions, 9 deletions
diff --git a/libc/src/stdlib/strfromd.cpp b/libc/src/stdlib/strfromd.cpp
index 1d02a7a..329f6fd 100644
--- a/libc/src/stdlib/strfromd.cpp
+++ b/libc/src/stdlib/strfromd.cpp
@@ -9,9 +9,6 @@
#include "src/stdlib/strfromd.h"
#include "src/stdlib/str_from_util.h"
-#include <stdarg.h>
-#include <stddef.h>
-
namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(int, strfromd,
diff --git a/libc/src/stdlib/strfromf.cpp b/libc/src/stdlib/strfromf.cpp
index 40eff87..80e1d74 100644
--- a/libc/src/stdlib/strfromf.cpp
+++ b/libc/src/stdlib/strfromf.cpp
@@ -9,9 +9,6 @@
#include "src/stdlib/strfromf.h"
#include "src/stdlib/str_from_util.h"
-#include <stdarg.h>
-#include <stddef.h>
-
namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(int, strfromf,
diff --git a/libc/src/stdlib/strfroml.cpp b/libc/src/stdlib/strfroml.cpp
index 6b8781e..f0bc935 100644
--- a/libc/src/stdlib/strfroml.cpp
+++ b/libc/src/stdlib/strfroml.cpp
@@ -9,9 +9,6 @@
#include "src/stdlib/strfroml.h"
#include "src/stdlib/str_from_util.h"
-#include <stdarg.h>
-#include <stddef.h>
-
namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(int, strfroml,