diff options
author | 2013-11-12 06:56:00 +0000 | |
---|---|---|
committer | 2013-11-12 06:56:00 +0000 | |
commit | 122afd1d2ca573fbd41a7af7d44731500dd0aa1e (patch) | |
tree | f045272ac002974783cb5e158c21ffb9badce130 /lib | |
parent | remove bogus legacy server-specific bits that cause confusion (diff) | |
download | wireguard-openbsd-122afd1d2ca573fbd41a7af7d44731500dd0aa1e.tar.xz wireguard-openbsd-122afd1d2ca573fbd41a7af7d44731500dd0aa1e.zip |
internalize some functions so that they do not need prototypes
ok ratchov
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libsndio/aucat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libsndio/aucat.c b/lib/libsndio/aucat.c index d1ecdc7cf16..21889ac1911 100644 --- a/lib/libsndio/aucat.c +++ b/lib/libsndio/aucat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aucat.c,v 1.57 2013/03/13 08:51:18 ratchov Exp $ */ +/* $OpenBSD: aucat.c,v 1.58 2013/11/12 06:56:00 deraadt Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -201,7 +201,7 @@ aucat_wdata(struct aucat *hdl, const void *buf, size_t len, return n; } -int +static int aucat_mkcookie(unsigned char *cookie) { struct stat sb; @@ -282,7 +282,7 @@ bad_gen: return 1; } -int +static int aucat_connect_tcp(struct aucat *hdl, char *host, unsigned int unit) { int s, error, opt; @@ -329,7 +329,7 @@ aucat_connect_tcp(struct aucat *hdl, char *host, unsigned int unit) return 1; } -int +static int aucat_connect_un(struct aucat *hdl, unsigned int unit) { struct sockaddr_un ca; |