utempter.c (691ac623d7dc777e723f45bb0b941c28ef3d83a1) utempter.c (04b0c5bbfa561a36748c937e0dc90f821ccac4e5)
1/*-
2 * Copyright (c) 2009 Ed Schouten <ed@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD$");
29
1/*-
2 * Copyright (c) 2009 Ed Schouten <ed@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD$");
29
30#include "ulog.h"
30#include "ulog_internal.h"
31#include "utempter.h"
32
33static int last_fd = -1;
34
35int
36utempter_add_record(int fd, const char *host)
37{
38

--- 46 unchanged lines hidden ---
31#include "utempter.h"
32
33static int last_fd = -1;
34
35int
36utempter_add_record(int fd, const char *host)
37{
38

--- 46 unchanged lines hidden ---