#include <perms.h>

                                                                //      1  %recordformat sockaddr(%integer whatever)
#line 1 "regression-compile-tmp/syscall.imp"
typedef struct SOCKADDR SOCKADDR;
struct SOCKADDR {
  int WHATEVER;
};
                                                                //      2  
                                                                //      3  %externalroutine connect(%integer sockfd, %record (sockaddr) %name addr, %integer addlen)
#line 3 "regression-compile-tmp/syscall.imp"
void CONNECT( int SOCKFD,  SOCKADDR /*name*/*ADDR, int ADDLEN )
#line 3 "regression-compile-tmp/syscall.imp"
{
                                                                //      4     %systemroutinespec connect(%integer sockfd, %record (sockaddr) %name addr, %integer addlen)
#line 4 "regression-compile-tmp/syscall.imp"
extern void connect( int SOCKFD,  SOCKADDR /*name*/*ADDR, int ADDLEN );
                                                                //      5     connect(sockfd, addr, addlen)
#line 5 "regression-compile-tmp/syscall.imp"
connect(SOCKFD, ADDR, ADDLEN);
                                                                //      6  %end
#line 6 "regression-compile-tmp/syscall.imp"
/* Remove %on %event handler here if present for this block */
return;
} // End of block CONNECT at level 1
                                                                //      7  
                                                                //      8  %begin
#line 8 "regression-compile-tmp/syscall.imp"
int main(int argc, char **argv) {
  _imp_initialise(argc, argv);
                                                                //      9    ! call connect?
                                                                //     10  %end
#line 10 "regression-compile-tmp/syscall.imp"
/* Remove %on %event handler here if present for this block */
return 0;
} // End of block _imp_main at level 1
                                                                //     11  
                                                                //     12  %endoffile
#line 12 "regression-compile-tmp/syscall.imp"
// End of file
