Minor typedefication in .h function definitions