]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/atp/atp_rreq.c
remove pre ansi declarations
[netatalk.git] / libatalk / atp / atp_rreq.c
index f7c02b3fea0ba6a779f44a4d3c4d657970132dfa..6736dbd290a1cccec811625eee6145a89e67c665 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * $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.
  *
@@ -23,7 +25,7 @@
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
+#endif /* HAVE_CONFIG_H */
 
 #include <stdlib.h>
 #include <string.h>
@@ -41,9 +43,9 @@
 
 /* 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 */
@@ -55,7 +57,7 @@ int atp_rreq( ah, atpb )
 
 #ifdef EBUG
     atp_print_bufuse( ah, "atp_rreq" );
-#endif
+#endif /* EBUG */
 
     while (( rc = atp_rsel( ah, atpb->atp_saddr, ATP_TREQ )) == 0 ) {
        ;
@@ -64,7 +66,7 @@ int atp_rreq( ah, atpb )
     if ( rc != ATP_TREQ ) {
 #ifdef EBUG
        printf( "<%d> atp_rreq: atp_rsel returns err %d\n", getpid(), rc );
-#endif EBUG
+#endif /* EBUG */
        return( rc );
     }