aboutsummaryrefslogtreecommitdiff
path: root/libc/src/network/htons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/network/htons.cpp')
-rw-r--r--libc/src/network/htons.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/src/network/htons.cpp b/libc/src/network/htons.cpp
index 1d2c6bf..e844454 100644
--- a/libc/src/network/htons.cpp
+++ b/libc/src/network/htons.cpp
@@ -10,10 +10,10 @@
#include "src/__support/common.h"
#include "src/__support/endian.h"
-namespace __llvm_libc {
+namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(uint16_t, htons, (uint16_t hostshort)) {
return Endian::to_big_endian(hostshort);
}
-} // namespace __llvm_libc
+} // namespace LIBC_NAMESPACE