2002-07-02 Ken Raeburn <raeburn@mit.edu>
+ * network.c (process_packet): Now static. Drop unused "portnum"
+ argument. Change caller.
+ * kdc_util.h (process_packet): Delete declaration.
+
* sock2p.c (inet_ntop): Disable definition; it should be provided
by the socket support header files.
* kdc_util.h (inet_ntop): Delete declaration.
krb5_error_code listen_and_process (const char *);
krb5_error_code setup_network (const char *);
krb5_error_code closedown_network (const char *);
-void process_packet (int, const char *, int);
/* policy.c */
int against_local_policy_as (krb5_kdc_req *, krb5_db_entry,
return 0;
}
-void process_packet(port_fd, prog, portnum)
+static void process_packet(port_fd, prog)
int port_fd;
const char *prog;
- int portnum;
{
int cc, saddr_len;
krb5_fulladdr faddr;
}
for (i=0; i<n_sockets; i++) {
if (FD_ISSET(udp_port_fds[i], &readfds)) {
- process_packet(udp_port_fds[i], prog, udp_port_nums[i]);
+ process_packet(udp_port_fds[i], prog);
nfound--;
if (nfound == 0)
break;