diff options
author | aaron <> | 1999-05-25 01:50:58 +0000 |
---|---|---|
committer | aaron <> | 1999-05-25 01:50:58 +0000 |
commit | e3dff71d030fda448c247d737ae87f11183d848e (patch) | |
tree | f0263c8961e25865161c5f5da341c9de6f60af97 /src/lib/libc/net/getnetent.3 | |
parent | e6b2922cf0ad8bc29c297cc71a1f5c4eb01a3ece (diff) | |
download | openbsd-e3dff71d030fda448c247d737ae87f11183d848e.tar.gz openbsd-e3dff71d030fda448c247d737ae87f11183d848e.tar.bz2 openbsd-e3dff71d030fda448c247d737ae87f11183d848e.zip |
all functions need a return type and at least one arg, even if it's void
Diffstat (limited to 'src/lib/libc/net/getnetent.3')
-rw-r--r-- | src/lib/libc/net/getnetent.3 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libc/net/getnetent.3 b/src/lib/libc/net/getnetent.3 index 7a4e9cf5ba..ddc9a8513b 100644 --- a/src/lib/libc/net/getnetent.3 +++ b/src/lib/libc/net/getnetent.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: getnetent.3,v 1.6 1999/05/16 19:55:04 alex Exp $ | 1 | .\" $OpenBSD: getnetent.3,v 1.7 1999/05/25 01:50:58 aaron Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1983, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -44,13 +44,15 @@ | |||
44 | .Sh SYNOPSIS | 44 | .Sh SYNOPSIS |
45 | .Fd #include <netdb.h> | 45 | .Fd #include <netdb.h> |
46 | .Ft struct netent * | 46 | .Ft struct netent * |
47 | .Fn getnetent | 47 | .Fn getnetent "void" |
48 | .Ft struct netent * | 48 | .Ft struct netent * |
49 | .Fn getnetbyname "char *name" | 49 | .Fn getnetbyname "char *name" |
50 | .Ft struct netent * | 50 | .Ft struct netent * |
51 | .Fn getnetbyaddr "in_addr_t net" "int type" | 51 | .Fn getnetbyaddr "in_addr_t net" "int type" |
52 | .Ft void | ||
52 | .Fn setnetent "int stayopen" | 53 | .Fn setnetent "int stayopen" |
53 | .Fn endnetent | 54 | .Ft void |
55 | .Fn endnetent "void" | ||
54 | .Sh DESCRIPTION | 56 | .Sh DESCRIPTION |
55 | The | 57 | The |
56 | .Fn getnetent , | 58 | .Fn getnetent , |