diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-03-28 01:57:28 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2004-03-28 01:57:28 +0000 |
commit | 9403f3dc7e977d53efe1439ec20461bbc4935fe5 (patch) | |
tree | fbfa6cb26b98ffcc7bae342b6f886d37a68b7bc2 /source4/lib | |
parent | 3744324dbd29ca3c732a3d82fab1c0ee94598eaf (diff) | |
download | samba-9403f3dc7e977d53efe1439ec20461bbc4935fe5.tar.gz samba-9403f3dc7e977d53efe1439ec20461bbc4935fe5.tar.bz2 samba-9403f3dc7e977d53efe1439ec20461bbc4935fe5.zip |
switch from SIG_ATOMIC_T to sig_atomic_t
(This used to be commit b881b72cb9cb5a4a8ad27b621e8cbe9dcfa7ba7f)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/tdb/tdb.c | 4 | ||||
-rw-r--r-- | source4/lib/tdb/tdb.h | 2 | ||||
-rw-r--r-- | source4/lib/tdb/tdbutil.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/tdb/tdb.c b/source4/lib/tdb/tdb.c index 0bcf4d5cb8..5367842cbb 100644 --- a/source4/lib/tdb/tdb.c +++ b/source4/lib/tdb/tdb.c @@ -194,9 +194,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/lib/tdb/tdb.h b/source4/lib/tdb/tdb.h index c9faa0464f..169de5f87d 100644 --- a/source4/lib/tdb/tdb.h +++ b/source4/lib/tdb/tdb.h @@ -134,7 +134,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); diff --git a/source4/lib/tdb/tdbutil.c b/source4/lib/tdb/tdbutil.c index 3c22333b4d..4a4423d2ce 100644 --- a/source4/lib/tdb/tdbutil.c +++ b/source4/lib/tdb/tdbutil.c @@ -24,7 +24,7 @@ /* these are little tdb utility functions that are meant to make dealing with a tdb database a little less cumbersome in Samba */ -static SIG_ATOMIC_T gotalarm; +static sig_atomic_t gotalarm; /*************************************************************** Signal function to tell us we timed out. |