Remove pointless redefinition of 'privoxy_mutex_t'
authorFabian Keil <fk@fabiankeil.de>
Sat, 19 Dec 2020 15:55:02 +0000 (16:55 +0100)
committerFabian Keil <fk@fabiankeil.de>
Mon, 21 Dec 2020 07:10:17 +0000 (08:10 +0100)
commita16ace2a46933dd2f7b9289ea1a98bff2756eea3
tree4743de75418313dc9f690ac209a70292e3a1c67d
parent3b4813587fa2eab6daed2738f455a7145fb31f1e
Remove pointless redefinition of 'privoxy_mutex_t'

... when compiling with FEATURE_HTTPS_INSPECTION.

Silences warnings when compiling with "-std=c99":

    cc -c -pipe -fstack-protector-all -ggdb -Wshadow  -Wconversion -I/usr/local/include/  -pthread -Wall -std=c99   errlog.c -o errlog.o
    In file included from errlog.c:70:
    ./jcc.h:66:25: warning: redefinition of typedef 'privoxy_mutex_t' is a C11 feature [-Wtypedef-redefinition]
    typedef pthread_mutex_t privoxy_mutex_t;
                            ^
    ./project.h:59:28: note: previous definition is here
       typedef pthread_mutex_t privoxy_mutex_t;
                               ^
    1 warning generated.

Compile-tested on Windows by Lee.
project.h