mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 23:22:06 -04:00
a different approach to shutting up compilers about an empty file, one that
does not cause all the compilers to complain about a variable being defined but not used.
This commit is contained in:
parent
95799c090c
commit
ddb8f23a09
2 changed files with 20 additions and 8 deletions
|
|
@ -15,10 +15,18 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: condition.c,v 1.3 2001/04/12 22:26:40 tale Exp $ */
|
||||
/* $Id: condition.c,v 1.4 2001/04/13 02:26:30 tale Exp $ */
|
||||
|
||||
/*
|
||||
* This file intentionally left blank. The useless static variable below
|
||||
* stops some compilers from complaining about an empty file.
|
||||
* This file intentionally left blank.
|
||||
*/
|
||||
static int isc_condition_file_not_used;
|
||||
|
||||
/*
|
||||
* Well, not completely. The stupid hack below shuts up compilers
|
||||
* from complaining about an empty file.
|
||||
*/
|
||||
static void
|
||||
isc_condition_nothreads(void) {
|
||||
isc_condition_nothreads();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,10 +15,14 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: mutex.c,v 1.3 2001/04/12 22:26:41 tale Exp $ */
|
||||
/* $Id: mutex.c,v 1.4 2001/04/13 02:26:32 tale Exp $ */
|
||||
|
||||
/*
|
||||
* This file intentionally left blank. The useless static variable below
|
||||
* stops some compilers from complaining about an empty file.
|
||||
* Well, not completely. The stupid hack below shuts up compilers
|
||||
* from complaining about an empty file.
|
||||
*/
|
||||
static int isc_mutex_file_not_used;
|
||||
static void
|
||||
isc_mutex_nothreads(void) {
|
||||
isc_mutex_nothreads();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue