summaryrefslogtreecommitdiff
path: root/libc/inet/opensock.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
commit05e75260d6952308d7c865ff67c0e3678b7ba935 (patch)
treeac1a5d0ab7904783917b52ffa5489e8367743ff7 /libc/inet/opensock.c
parent2fec342738cefe71910e8e8ab8636accfc5867bc (diff)
Get rid of missing prototype warnings
Diffstat (limited to 'libc/inet/opensock.c')
-rw-r--r--libc/inet/opensock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/inet/opensock.c b/libc/inet/opensock.c
index 4db86bd7b..a2c09dcf5 100644
--- a/libc/inet/opensock.c
+++ b/libc/inet/opensock.c
@@ -29,7 +29,8 @@ libc_hidden_proto(socket)
/* Return a socket of any type. The socket can be used in subsequent
ioctl calls to talk to the kernel. */
-int attribute_hidden
+int __opensock(void) attribute_hidden;
+int
__opensock (void)
{
int fd;