openbsd-ports/net/libshout/patches/patch-src_thread_thread_h
sturm aaeb6284b2 Initial import of libshout 2.0
Libshout is a library for communicating with and sending data to an
icecast server. It handles the socket connection, the timing of the
data, and prevents bad data from getting to the icecast server.

With just a few lines of code, a programmer can easily turn any
application into a streaming source for an icecast server. Libshout
also allows developers who want a specific feature set (database
access, request taking) to concentrate on that feature set, instead of
worrying about how server communication works.

from Moritz Grimm <gtgbr@gmx.net>, cleanup and patches from me

WWW:  http://www.icecast.org/
2003-07-26 11:38:50 +00:00

13 lines
612 B
Plaintext

$OpenBSD: patch-src_thread_thread_h,v 1.1.1.1 2003/07/26 11:38:50 sturm Exp $
--- src/thread/thread.h.orig 2003-07-26 09:14:12.000000000 +0200
+++ src/thread/thread.h 2003-07-26 09:14:58.000000000 +0200
@@ -163,7 +163,7 @@ void thread_rwlock_rlock_c(rwlock_t *rwl
void thread_rwlock_wlock_c(rwlock_t *rwlock, int line, char *file);
void thread_rwlock_unlock_c(rwlock_t *rwlock, int line, char *file);
void thread_rwlock_destroy(rwlock_t *rwlock);
-void thread_exit_c(int val, int line, char *file);
+void thread_exit_c(long val, int line, char *file);
/* sleeping */
void thread_sleep(unsigned long len);