Woody: pthread_rwlock_t error
Why does the following simple test program
int main( int argc, char** argv )
yield these errors:
thread_test.c:3: parse error before `lock'
thread_test.c:3: warning: data definition has no type or storage class
and what can I do to fix them?
I compiled this prog with
gcc -o thread_test thread_test.c
This happened on a Debian 3.0 (Woody) system with kernel 2.2.21 and glibc
Thanks in advance for any info!