summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.c
blob: be9134a942c821837e82b85443bbdbad7a1bba0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * $Id: $
 */

#include <stdlib.h>

#include "defs.h"

int mode = MODE_INTER;
int BGFiledes[2] = { -1, -1 };
int modem = -1;
int tun_in = -1;
int tun_out = -1;
int netfd = -1;
char *dstsystem = NULL;

void
randinit()
{
  static int initdone;

  if (!initdone) {
    initdone = 1;
    srandomdev();
  }
}
OpenPOWER on IntegriCloud