diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:13:36 -0300 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:13:36 -0300 |
commit | bc4ba28cab2fbdefee87fbb8d97234046f707ed0 (patch) | |
tree | ad51351f695978140f847012d093d17a18062b38 /include/lf.h | |
parent | 97c3182312568d856e040f8d788f1ee0291717c1 (diff) | |
download | mariadb-git-bc4ba28cab2fbdefee87fbb8d97234046f707ed0.tar.gz |
WL#5498: Remove dead and unused source code
Remove unused variables.
Diffstat (limited to 'include/lf.h')
-rw-r--r-- | include/lf.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/lf.h b/include/lf.h index d1f592d1047..e9fb094493f 100644 --- a/include/lf.h +++ b/include/lf.h @@ -187,8 +187,6 @@ typedef struct st_lf_allocator { uchar * volatile top; uint element_size; uint32 volatile mallocs; - void (*constructor)(uchar *); /* called, when an object is malloc()'ed */ - void (*destructor)(uchar *); /* called, when an object is free()'d */ } LF_ALLOCATOR; void lf_alloc_init(LF_ALLOCATOR *allocator, uint size, uint free_ptr_offset); @@ -222,8 +220,7 @@ C_MODE_START #define LF_HASH_UNIQUE 1 -/* lf_hash overhead per element (that is, sizeof(LF_SLIST) */ -extern const int LF_HASH_OVERHEAD; +/* lf_hash overhead per element is sizeof(LF_SLIST). */ typedef struct { LF_DYNARRAY array; /* hash itself */ |