Changed function definition, makefile with linking.