--- src/prf_shl.c.orig 2005-11-07 13:18:43.000000000 +1100 +++ src/prf_shl.c 2013-09-23 23:24:19.000000000 +1000 @@ -32,6 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI * prf_shl.c * * Copyright (c) 2003-2005 Troy Hanson * *******************************************************************************/ +#include #include "libut/ut_internal.h" @@ -68,6 +69,11 @@ struct hdrmap { } hdrtbl[] = { PRF_SCALES {-1,NULL} }; #undef EL +int UT_prf_show_all(); +int UT_prf_show_prf(char *prfname); +int UT_prf_rescale_shlcmd(char *prf_name, char *new_scale); +int UT_prf_show_usage(int argc, char *argv[]); + /****************************************************************************** * UT_prf_shlcmd() * * Impleementation of the shl "prf" command * @@ -109,6 +115,7 @@ int UT_prf_show_usage(int argc,char*argv UT_shlf("prf -- view \n"); UT_shlf("prf scale -- list scales\n"); UT_shlf("prf scale -- rescale \n"); + return 0; } @@ -131,6 +138,8 @@ int UT_prf_show_all() { return 0; } +int UT_prf_fmt_prfrow(UT_prf *prf, UT_prf_row *row, char *hdrs[]); + /****************************************************************************** * UT_prf_show_prf() * * Display the prf header and the prf itself * @@ -152,7 +161,7 @@ int UT_prf_show_prf( char *prfname ) { while (map->type != -1 && map->type != prf->scale_type) map++; if (map->type == -1) { UT_LOG(Error, "Unknown prf scale %d", prf->scale_type); - return; + return 0; } cols = map->hdr; @@ -198,6 +207,7 @@ int UT_prf_fmt_prfrow( UT_prf *prf, UT_p } UT_shlf("\n"); + return 0; } /******************************************************************************