aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/helper.h')
-rw-r--r--engines/gob/helper.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/gob/helper.h b/engines/gob/helper.h
index d1f24792a5..8d2895bec8 100644
--- a/engines/gob/helper.h
+++ b/engines/gob/helper.h
@@ -28,13 +28,6 @@
namespace Gob {
-/** A strncpy that forces the final \0. */
-inline char *strncpy0(char *dest, const char *src, size_t n) {
- strncpy(dest, src, n);
- dest[n] = 0;
- return dest;
-}
-
} // End of namespace Gob
#endif // GOB_HELPER_H