aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/enet/enet.h2
-rw-r--r--include/enet/win32.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h
index dd51e95..948f44e 100644
--- a/include/enet/enet.h
+++ b/include/enet/enet.h
@@ -517,7 +517,6 @@ ENET_API int enet_address_set_host (ENetAddress * address, const char * hostName
@returns the null-terminated name of the host in hostName on success
@retval 0 on success
@retval < 0 on failure
- @remarks if the name's length matches or exceeds nameLength, the result may not be null-terminated
*/
ENET_API int enet_address_get_host_ip (const ENetAddress * address, char * hostName, size_t nameLength);
@@ -528,7 +527,6 @@ ENET_API int enet_address_get_host_ip (const ENetAddress * address, char * hostN
@returns the null-terminated name of the host in hostName on success
@retval 0 on success
@retval < 0 on failure
- @remarks if the name's length matches or exceeds nameLength, the result may not be null-terminated
*/
ENET_API int enet_address_get_host (const ENetAddress * address, char * hostName, size_t nameLength);
diff --git a/include/enet/win32.h b/include/enet/win32.h
index d8968ee..e73ca9d 100644
--- a/include/enet/win32.h
+++ b/include/enet/win32.h
@@ -7,7 +7,6 @@
#ifdef _MSC_VER
#ifdef ENET_BUILDING_LIB
-#pragma warning (disable: 4996) // 'strncpy' was declared deprecated
#pragma warning (disable: 4267) // size_t to int conversion
#pragma warning (disable: 4244) // 64bit to 32bit int
#pragma warning (disable: 4018) // signed/unsigned mismatch