Deleted Added
full compact
update.c (200420) update.c (200462)
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user or with the express written consent of
8 * Sun Microsystems, Inc.

--- 28 unchanged lines hidden (view full) ---

37/*
38 * Copyright (C) 1986, 1989, Sun Microsystems, Inc.
39 */
40
41/*
42 * Administrative tool to add a new user to the publickey database
43 */
44#include <sys/cdefs.h>
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user or with the express written consent of
8 * Sun Microsystems, Inc.

--- 28 unchanged lines hidden (view full) ---

37/*
38 * Copyright (C) 1986, 1989, Sun Microsystems, Inc.
39 */
40
41/*
42 * Administrative tool to add a new user to the publickey database
43 */
44#include <sys/cdefs.h>
45__FBSDID("$FreeBSD: head/usr.bin/newkey/update.c 200420 2009-12-11 23:35:38Z delphij $");
45__FBSDID("$FreeBSD: head/usr.bin/newkey/update.c 200462 2009-12-13 03:14:06Z delphij $");
46
47#include <sys/types.h>
48#include <sys/time.h>
49#include <sys/resource.h>
50
51#include <rpc/rpc.h>
52#include <rpc/key_prot.h>
53
54#ifdef YP
55#include <sys/wait.h>
56#include <rpcsvc/yp_prot.h>
57#include <rpcsvc/ypclnt.h>
58#include <netdb.h>
59#endif /* YP */
60
46
47#include <sys/types.h>
48#include <sys/time.h>
49#include <sys/resource.h>
50
51#include <rpc/rpc.h>
52#include <rpc/key_prot.h>
53
54#ifdef YP
55#include <sys/wait.h>
56#include <rpcsvc/yp_prot.h>
57#include <rpcsvc/ypclnt.h>
58#include <netdb.h>
59#endif /* YP */
60
61#include <pwd.h>
61#include <stdio.h>
62#include <stdlib.h>
63#include <string.h>
64#include <unistd.h>
65
66#include "extern.h"
67
68#ifdef YP

--- 263 unchanged lines hidden ---
62#include <stdio.h>
63#include <stdlib.h>
64#include <string.h>
65#include <unistd.h>
66
67#include "extern.h"
68
69#ifdef YP

--- 263 unchanged lines hidden ---