diff options
author | Simon Josefsson <simon@josefsson.org> | 2006-02-11 17:06:46 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2006-02-11 17:06:46 +0000 |
commit | a24b6aa49975ff122ecd05f31b5c07086be98835 (patch) | |
tree | f53b2eb8c408bc2c89f11f6b7e51c9f9267f81c8 | |
parent | d6f9325a15ce04bacd82a0a2b944c07a8ba67f39 (diff) | |
download | libtasn1-a24b6aa49975ff122ecd05f31b5c07086be98835.tar.gz libtasn1-a24b6aa49975ff122ecd05f31b5c07086be98835.tar.bz2 libtasn1-a24b6aa49975ff122ecd05f31b5c07086be98835.zip |
Remove unused code.
-rw-r--r-- | lib/gstr.c | 12 | ||||
-rw-r--r-- | lib/gstr.h | 1 |
2 files changed, 0 insertions, 13 deletions
@@ -54,15 +54,3 @@ size_t str_size = strlen(src); } } } - -void _asn1_mem_cpy( char* dest, size_t dest_tot_size, const char* src, size_t src_size) -{ - - if ( dest_tot_size >= src_size) { - memcpy( dest, src, src_size); - } else { - if ( dest_tot_size > 0) { - memcpy( dest, src, dest_tot_size); - } - } -} @@ -1,5 +1,4 @@ void _asn1_str_cpy( char* dest, size_t dest_tot_size, const char* src); -void _asn1_mem_cpy( char* dest, size_t dest_tot_size, const char* src, size_t src_size); void _asn1_str_cat( char* dest, size_t dest_tot_size, const char* src); #define Estrcpy(x,y) _asn1_str_cpy(x,MAX_ERROR_DESCRIPTION_SIZE,y) |