summaryrefslogtreecommitdiff
path: root/src/openvpn/buffer.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-02-09 16:35:34 +0100
committerJörg Frings-Fürst <debian@jff.email>2022-02-09 16:35:34 +0100
commit1a7f9ade59d3cf092d8fe2c341d13e9abb834b2c (patch)
treec2862c0ce46b80f565a18a25fa96145ef59ad0b2 /src/openvpn/buffer.h
parent1aff45d6fdfbc63a0256a831a8f8644a84708e9f (diff)
parent9d320b2bf4b83f6e2a3c679a399b88dfe57b879e (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/openvpn/buffer.h')
-rw-r--r--src/openvpn/buffer.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/openvpn/buffer.h b/src/openvpn/buffer.h
index fc7909b..1a795d2 100644
--- a/src/openvpn/buffer.h
+++ b/src/openvpn/buffer.h
@@ -449,22 +449,6 @@ __attribute__ ((format(__printf__, 3, 4)))
;
-#ifdef _WIN32
-/*
- * Like swprintf but guarantees null termination for size > 0
- *
- * This is under #ifdef because only Windows-specific code in tun.c
- * uses this function and its implementation breaks OpenBSD <= 4.9
- */
-bool
-openvpn_swprintf(wchar_t *const str, const size_t size, const wchar_t *const format, ...);
-
-/*
- * Unlike in openvpn_snprintf, we cannot use format attributes since
- * GCC doesn't support wprintf as archetype.
- */
-#endif
-
/*
* remove/add trailing characters
*/