int owl_zephyr_zpending() { #ifdef HAVE_LIBZEPHYR if(owl_global_is_havezephyr(&g)) return(ZPending()); else return 0; #else return(0); #endif }
int owl_zephyr_zpending(void) { #ifdef HAVE_LIBZEPHYR Code_t code; if(owl_global_is_havezephyr(&g)) { if((code = ZPending()) < 0) { owl_function_debugmsg("Error (%s) in ZPending()\n", error_message(code)); return 0; } return code; } #endif return 0; }