move calling conventions declaration into grdev.h header file