summaryrefslogtreecommitdiff
path: root/source4/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/tdb')
-rw-r--r--source4/tdb/tdb.c4
-rw-r--r--source4/tdb/tdb.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/tdb/tdb.c b/source4/tdb/tdb.c
index 097209ff7a..513fbce519 100644
--- a/source4/tdb/tdb.c
+++ b/source4/tdb/tdb.c
@@ -166,9 +166,9 @@ struct list_struct {
a blocking lock on SIGALRM.
***************************************************************/
-static sig_atomic_t *palarm_fired;
+static SIG_ATOMIC_T *palarm_fired;
-void tdb_set_lock_alarm(sig_atomic_t *palarm)
+void tdb_set_lock_alarm(SIG_ATOMIC_T *palarm)
{
palarm_fired = palarm;
}
diff --git a/source4/tdb/tdb.h b/source4/tdb/tdb.h
index 6f3b1ff756..720066f1b3 100644
--- a/source4/tdb/tdb.h
+++ b/source4/tdb/tdb.h
@@ -127,7 +127,7 @@ int tdb_lockall(TDB_CONTEXT *tdb);
void tdb_unlockall(TDB_CONTEXT *tdb);
/* Low level locking functions: use with care */
-void tdb_set_lock_alarm(sig_atomic_t *palarm);
+void tdb_set_lock_alarm(SIG_ATOMIC_T *palarm);
int tdb_chainlock(TDB_CONTEXT *tdb, TDB_DATA key);
int tdb_chainunlock(TDB_CONTEXT *tdb, TDB_DATA key);