diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-08-03 10:43:46 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-08-03 10:43:46 +0200 |
commit | c9a86dd1813b03aff74808035f7cae18133e2cbb (patch) | |
tree | bfc767522b051aca38185af7a1b110a42373e678 /pgfuse.c | |
parent | d9a54c3f6cbf068a1e1553eac9adcf9127b007f5 (diff) | |
download | pgfuse-c9a86dd1813b03aff74808035f7cae18133e2cbb.tar.gz pgfuse-c9a86dd1813b03aff74808035f7cae18133e2cbb.tar.bz2 |
added THREAD_ID helper in a util.h, done away with warnings on numerical thread systems
Diffstat (limited to 'pgfuse.c')
-rw-r--r-- | pgfuse.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -43,6 +43,7 @@ #endif #include "config.h" /* compiled in defaults */ +#include "util.h" /* common project utilities */ #include "pgsql.h" /* implements Postgresql accessers */ #include "pool.h" /* implements the connection pool */ @@ -107,8 +108,6 @@ static int psql_release( PgFuseData *data, PGconn *conn ) #define RELEASE( C ) \ if( psql_release( data, C ) < 0 ) return -EIO; -#define THREAD_ID pthread_self( ) - /* --- other helpers --- */ static int check_mountpoint( char **old_mountpoint ) |