Dash:
[t2.git] / package / network / howl / howl-0.9.8-darwin-locking-api.patch
blob7ee092604158c1f8987e8d99f3c7cfe77777895e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../howl/howl-0.9.8-darwin-locking-api.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Make the exposed API for Darwin similar to that on the other platforms, so
18 applications using it will be portable.
20 - Hans Petter Jansson <hpj@novell.com>
22 diff -upr howl-0.9.8-orig/src/lib/howl/MacOSX/macosx_salt.c howl-0.9.8/src/lib/howl/MacOSX/macosx_salt.c
23 --- howl-0.9.8-orig/src/lib/howl/MacOSX/macosx_salt.c Fri Jan 28 11:27:36 2005
24 +++ howl-0.9.8/src/lib/howl/MacOSX/macosx_salt.c Fri Jan 28 11:32:09 2005
25 @@ -229,3 +229,19 @@ sw_socket_error_code()
27 return errno;
31 +sw_result
32 +sw_salt_lock(
33 + sw_salt self)
35 + sw_assert(self);
39 +sw_result
40 +sw_salt_unlock(
41 + sw_salt self)
43 + sw_assert(self);