Changeset 52761cc for global.c


Ignore:
Timestamp:
Oct 23, 2009, 10:50:42 PM (12 years ago)
Author:
Karl Ramm <kcr@1ts.org>
Branches:
master, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
23fddad
Parents:
84ea53c
git-author:
Karl Ramm <kcr@1ts.org> (09/21/09 15:48:11)
git-committer:
Karl Ramm <kcr@1ts.org> (10/23/09 22:50:42)
Message:
Cleanup owl_function_debugmsg.

Nuke two buff[LINE]s in owl_function_debugmsg.
Remove now-unused owl_global_get_runtime_string.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r4f2166b r52761cc  
    527527}
    528528
    529 void owl_global_get_runtime_string(const owl_global *g, char *buff) {
    530   time_t diff;
    531 
    532   diff=time(NULL)-owl_global_get_starttime(g);
    533 
    534   /* print something nicer later */   
    535   sprintf(buff, "%i seconds", (int) diff);
    536 }
    537 
    538529const char *owl_global_get_hostname(const owl_global *g) {
    539530  if (g->thishost) return(g->thishost);
Note: See TracChangeset for help on using the changeset viewer.