remove useless global

This commit is contained in:
Andrei Alexeyev 2017-12-24 05:07:41 +02:00
parent de31a20497
commit ab0cccd5f6
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4

View file

@ -15,8 +15,6 @@ struct ObjectPool {
size_t size_of_object;
};
size_t sizeof_objpool_interface = sizeof(ObjectInterface);
ObjectPool *objpool_alloc(size_t obj_size, size_t max_objects, const char *tag) {
ObjectPool *pool = malloc(sizeof(ObjectPool));
pool->size_of_object = obj_size;