/*
+ * $Id: atp_rreq.c,v 1.4 2009-10-13 22:55:37 didg Exp $
+ *
* Copyright (c) 1990,1991 Regents of The University of Michigan.
* All Rights Reserved.
*
#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
+#endif /* HAVE_CONFIG_H */
#include <stdlib.h>
#include <string.h>
/* wait for a tranasaction service request
*/
-int atp_rreq( ah, atpb )
- ATP ah; /* open atp handle */
- struct atp_block *atpb; /* parameter block */
+int atp_rreq(
+ ATP ah, /* open atp handle */
+ struct atp_block *atpb) /* parameter block */
{
struct atpbuf *req_buf; /* for receiving request packet */
struct atphdr req_hdr; /* request header overlay */
#ifdef EBUG
atp_print_bufuse( ah, "atp_rreq" );
-#endif
+#endif /* EBUG */
while (( rc = atp_rsel( ah, atpb->atp_saddr, ATP_TREQ )) == 0 ) {
;
if ( rc != ATP_TREQ ) {
#ifdef EBUG
printf( "<%d> atp_rreq: atp_rsel returns err %d\n", getpid(), rc );
-#endif EBUG
+#endif /* EBUG */
return( rc );
}