summaryrefslogtreecommitdiffstats
path: root/build/apr_threads.m4
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-12 04:59:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-12 04:59:58 +0000
commitb8d375bcb1f462d5af5d1f480b32d7b0038417f6 (patch)
tree93d48ade79cc9d5892f17ff41c33753be6bb0879 /build/apr_threads.m4
parentAdding upstream version 1.7.2. (diff)
downloadapr-b8d375bcb1f462d5af5d1f480b32d7b0038417f6.tar.xz
apr-b8d375bcb1f462d5af5d1f480b32d7b0038417f6.zip
Adding upstream version 1.7.5.upstream/1.7.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--build/apr_threads.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/build/apr_threads.m4 b/build/apr_threads.m4
index 6895c3a..dbe7f4e 100644
--- a/build/apr_threads.m4
+++ b/build/apr_threads.m4
@@ -100,7 +100,7 @@ void *thread_routine(void *data) {
return data;
}
-int main() {
+int main(int argc, const char *argv[]) {
pthread_t thd;
pthread_mutexattr_t mattr;
pthread_once_t once_init = PTHREAD_ONCE_INIT;
@@ -228,7 +228,7 @@ AC_DEFUN([APR_CHECK_PTHREAD_RECURSIVE_MUTEX], [
#include <pthread.h>
#include <stdlib.h>
-int main() {
+int main(int argc, const char *argv[]) {
pthread_mutexattr_t attr;
pthread_mutex_t m;