/*
- * $Id: route.c,v 1.6 2002-01-17 06:10:12 srittau Exp $
+ * $Id: route.c,v 1.8 2009-10-13 22:55:37 didg Exp $
*
* Copyright (c) 1990,1996 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include <string.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/route.h>
#include <sys/ioctl.h>
-
#include <netatalk/at.h>
#include "rtmp.h"
#include "route.h"
#ifndef BSD4_4
-int route( message, dst, gate, flags )
- int message;
- struct sockaddr *dst, *gate;
- int flags;
+int route( int message, struct sockaddr *dst, struct sockaddr *gate, int flags)
{
#ifdef TRU64
struct ortentry rtent;
struct sockaddr_m rtma_mask;
} rtma;
-route( message, dst, gate, flags )
- int message;
- struct sockaddr_at *dst, *gate;
- int flags;
+route( int message, struct sockaddr_at *dst, struct sockaddr_at *gate, int flags)
{
int rc;