remove code causing Non-trivial type declarators in shared... warning