Ignore:
Timestamp:
Oct 18, 2012, 4:39:38 PM (7 years ago)
Author:
lindanl
Message:

Change to static functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/perflib/WallTime.h

    r2275 r2479  
    5858typedef struct Timer_Table Timer_Table;
    5959
    60 Timer_Table * init_Wall_timer () {
     60static inline Timer_Table * init_Wall_timer () {
    6161  Timer_Table * timer_table = (Timer_Table *) malloc(sizeof(Timer_Table));
    6262  if (!timer_table) {
     
    9393
    9494
    95 void dump_Timer_Table(Timer_Table * timer_table) {
     95static void dump_Timer_Table(Timer_Table * timer_table) {
    9696  // an array of counts and timings per binary order of magnitude
    9797  int Wall_count[BIT_COUNT];
     
    154154}
    155155
    156 void destroy_Wall_timer(Timer_Table * timer_table) {
     156static inline void destroy_Wall_timer(Timer_Table * timer_table) {
    157157        if(timer_table) {
    158158                free(timer_table);
Note: See TracChangeset for help on using the changeset viewer.