Revision: 56764
          http://sourceforge.net/p/brlcad/code/56764
Author:   brlcad
Date:     2013-08-12 23:51:10 +0000 (Mon, 12 Aug 2013)
Log Message:
-----------
looks like this straggler didn't get committed.  use the new api typedef for 
the callback

Modified Paths:
--------------
    brlcad/trunk/src/libbu/heap.c

Modified: brlcad/trunk/src/libbu/heap.c
===================================================================
--- brlcad/trunk/src/libbu/heap.c       2013-08-12 22:19:36 UTC (rev 56763)
+++ brlcad/trunk/src/libbu/heap.c       2013-08-12 23:51:10 UTC (rev 56764)
@@ -88,12 +88,10 @@
 static struct cpus per_cpu[MAX_PSW] = {{{{0, 0, 0}}, 0}};
 
 
-typedef int (*heap_func_t)(const char *, ...);
-
-heap_func_t
-bu_heap_log(heap_func_t log)
+bu_heap_func_t
+bu_heap_log(bu_heap_func_t log)
 {
-    static heap_func_t heap_log = (heap_func_t)&bu_log;
+    static bu_heap_func_t heap_log = (bu_heap_func_t)&bu_log;
 
     if (log)
        heap_log = log;
@@ -114,7 +112,7 @@
     size_t total_pages = 0;
     size_t ncpu = bu_avail_cpus();
 
-    heap_func_t log = bu_heap_log(NULL);
+    bu_heap_func_t log = bu_heap_log(NULL);
 
     struct bu_vls str = BU_VLS_INIT_ZERO;
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to