summaryrefslogtreecommitdiff
path: root/openbsd-compat/inet_aton.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2016-05-31 16:45:28 +1000
committerDamien Miller <djm@mindrot.org>2016-05-31 16:45:28 +1000
commit604a037d84e41e31f0aec9075df0b8740c130200 (patch)
tree9da88e7beea2c58bde607ae59216bd410245c29e /openbsd-compat/inet_aton.c
parent18424200160ff5c923113e0a37ebe21ab7bcd17c (diff)
whitespace at EOL
Diffstat (limited to 'openbsd-compat/inet_aton.c')
-rw-r--r--openbsd-compat/inet_aton.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsd-compat/inet_aton.c b/openbsd-compat/inet_aton.c
index 130597e14..093a17203 100644
--- a/openbsd-compat/inet_aton.c
+++ b/openbsd-compat/inet_aton.c
@@ -3,7 +3,7 @@
3/* 3/*
4 * Copyright (c) 1983, 1990, 1993 4 * Copyright (c) 1983, 1990, 1993
5 * The Regents of the University of California. All rights reserved. 5 * The Regents of the University of California. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
@@ -15,7 +15,7 @@
15 * 3. Neither the name of the University nor the names of its contributors 15 * 3. Neither the name of the University nor the names of its contributors
16 * may be used to endorse or promote products derived from this software 16 * may be used to endorse or promote products derived from this software
17 * without specific prior written permission. 17 * without specific prior written permission.
18 * 18 *
19 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 19 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -29,14 +29,14 @@
29 * SUCH DAMAGE. 29 * SUCH DAMAGE.
30 * - 30 * -
31 * Portions Copyright (c) 1993 by Digital Equipment Corporation. 31 * Portions Copyright (c) 1993 by Digital Equipment Corporation.
32 * 32 *
33 * Permission to use, copy, modify, and distribute this software for any 33 * Permission to use, copy, modify, and distribute this software for any
34 * purpose with or without fee is hereby granted, provided that the above 34 * purpose with or without fee is hereby granted, provided that the above
35 * copyright notice and this permission notice appear in all copies, and that 35 * copyright notice and this permission notice appear in all copies, and that
36 * the name of Digital Equipment Corporation not be used in advertising or 36 * the name of Digital Equipment Corporation not be used in advertising or
37 * publicity pertaining to distribution of the document or software without 37 * publicity pertaining to distribution of the document or software without
38 * specific, written prior permission. 38 * specific, written prior permission.
39 * 39 *
40 * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL 40 * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
41 * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES 41 * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
42 * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT 42 * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
@@ -77,7 +77,7 @@ inet_addr(const char *cp)
77} 77}
78#endif 78#endif
79 79
80/* 80/*
81 * Check whether "cp" is a valid ascii representation 81 * Check whether "cp" is a valid ascii representation
82 * of an Internet address and convert to a binary address. 82 * of an Internet address and convert to a binary address.
83 * Returns 1 if the address is valid, 0 if not. 83 * Returns 1 if the address is valid, 0 if not.