* vmeUniverse/vmeTsi148.h: user now must define a symbol

for the header to declare 'dump info'-style routine. This
    is in order to avoid pulling in <stdio.h>.
This commit is contained in:
Till Straumann
2006-11-30 02:28:49 +00:00
parent 297e2380ee
commit 43ea3692ce
2 changed files with 18 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2006-11-29 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeTsi148.h: user now must define a symbol
for the header to declare 'dump info'-style routine. This
is in order to avoid pulling in <stdio.h>.
2006-11-17 Joel Sherrill <joel@OARcorp.com>
* clock_driver_stub.c, clockdrv_shell.c: Use common clock driver

View File

@@ -191,6 +191,16 @@ vmeTsi148XlateAddr(
unsigned long *paOut/* where to put result */
);
/* avoid pulling stdio.h into this header.
* Applications that want a declaration of the
* following routines should
* #include <stdio.h>
* #define _VME_TSI148_DECLARE_SHOW_ROUTINES
* #include <vmeTsi148.h>
*/
#ifdef _VME_TSI148_DECLARE_SHOW_ROUTINES
/* Print the current configuration of all outbound ports to
* f (stdout if NULL)
*/
@@ -211,6 +221,8 @@ vmeTsi148InboundPortsShowXX(BERegister *base, FILE *f);
void
vmeTsi148InboundPortsShow(FILE *f);
#endif
/* Disable all in- or out-bound ports, respectively */
void