test.c: In function ‘void* befehle()’:
test.c:99: error: ‘text’ was not declared in this scope
test.c:104: error: ‘sock’ was not declared in this scope
test.c:108: error: ‘sock’ was not declared in this scope
test.c:112: error: ‘sock’ was not declared in this scope
test.c:116: error: ‘sock’ was not declared in this scope
test.c:120: error: ‘sock’ was not declared in this scope
test.c:124: error: ‘sock’ was not declared in this scope
test.c:128: error: ‘sock’ was not declared in this scope
test.c:132: error: ‘sock’ was not declared in this scope
test.c:137: error: ‘sock’ was not declared in this scope
test.c: In function ‘int main()’:
test.c:180: error: invalid conversion from ‘void* (*)()’ to ‘void* (*)(void*)’
test.c:180: error: initializing argument 3 of ‘int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)’
test.c:181: error: invalid conversion from ‘void* (*)()’ to ‘void* (*)(void*)’
test.c:181: error: initializing argument 3 of ‘int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)’