PERFORCE change 229864 for review

Jonathan Anderson jonathan at FreeBSD.org
Tue Jun 18 09:04:24 UTC 2013


http://p4web.freebsd.org/@@229864?ac=10

Change 229864 by jonathan at jonathan-on-zenith on 2013/06/18 09:03:57

	Do declare staticly-allocated things static.

Affected files ...

.. //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/libtesla/tesla_notification.c#7 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/libtesla/tesla_notification.c#7 (text+ko) ====

@@ -282,7 +282,7 @@
 	DEBUG(libtesla.event, "ignore '%s':%s", tcp->tc_name, buffer);
 }
 
-const struct tesla_event_handlers printf_handlers = {
+static const struct tesla_event_handlers printf_handlers = {
 	.teh_init		= print_new_instance,
 	.teh_transition		= print_transition_taken,
 	.teh_clone		= print_clone,
@@ -314,7 +314,7 @@
 	tesla_panic("TESLA: failure in '%s': bad transition", tcp->tc_name);
 }
 
-const struct tesla_event_handlers failstop_handlers = {
+static const struct tesla_event_handlers failstop_handlers = {
 	.teh_init		= ev_noop,
 	.teh_transition		= ev_noop,
 	.teh_clone		= ev_noop,


More information about the p4-projects mailing list