]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ggml-cpu : remove stdlib include from repack.cpp (#1276)
authorDaniel Bevenius <redacted>
Mon, 21 Jul 2025 13:53:12 +0000 (15:53 +0200)
committerGitHub <redacted>
Mon, 21 Jul 2025 13:53:12 +0000 (15:53 +0200)
This commit removes the inclusion of `<cstdlib>`.

The motivation for this change is that this source file does not seem to
use any functions from this header and the comment about `qsort` is a
little misleading/confusing.

src/ggml-cpu/repack.cpp

index 72ee93a5abc7cdcf1077c468c28cb7df9af13028..74c1c029b946bc8f28b7690d00c0fd2eb1068ff2 100644 (file)
@@ -14,7 +14,6 @@
 #include <cmath>
 #include <cstring>
 #include <cassert>
-#include <cstdlib> // for qsort
 #include <cstdio>  // for GGML_ASSERT
 
 #include "repack.h"