Changeset 23 in libcf


Ignore:
Timestamp:
02/02/13 10:06:15 (11 years ago)
Author:
cheese
Message:

#1 change local functions in source code to static functions and some comments

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_log.h

    r19 r23  
    1 /*
     1/**
    22 * cf_log.h
    33 */
  • trunk/src/cf_debug.c

    r18 r23  
    3636} S_CF_DEBUG_CALLSTACK, CF_DEBUG_CALLSTACK;
    3737
    38 /* implementation of CF_Debug_Ctx */
    3938typedef struct __cf_debug_ctx__
    4039{
     
    4847} S_CF_DEBUG_CTX, CF_DEBUG_CTX;
    4948
    50 int
     49static int
    5150CF_Debug_Local_Print (FILE          * fp,
    5251                      const char    * file,
     
    6261}
    6362
    64 int
     63static int
    6564CF_Debug_Local_PrintBin (FILE                   * fp,
    6665                         const char             * file,
  • trunk/src/cf_local.h

    r12 r23  
    1 /*
     1/**
    22 * cf_local.h
    33 */
  • trunk/src/cf_log.c

    r19 r23  
    1 /*
     1/**
    22 * cf_log.c
    33 */
     
    120120/* }}} #if defined(_WIN32) || defined(_WIN64) */
    121121
    122 int
     122static int
    123123CF_Log_Local_GetTime (CF_Log_DateTime * dt)
    124124{
     
    143143}
    144144
    145 int
     145static int
    146146CF_Log_Local_GetTimeString (char * buffer)
    147147{
     
    159159}
    160160
    161 int
     161static int
    162162CF_Log_Local_Push (CF_LOG_CTX   * ctx,
    163163                   const char   * buffer)
     
    171171}
    172172
    173 int
     173static int
    174174CF_Log_Local_Flush (CF_LOG_CTX * ctx)
    175175{
  • trunk/src/cf_thread.c

    r22 r23  
    2626        return CF_ERROR_MUTEX_INVALID_ARGS
    2727
    28 int
     28static int
    2929CF_Thread_Local_Close (void * ctx)
    3030{
  • trunk/test/test.c

    r22 r23  
    1 /*
    2  * cf.c
     1/**
     2 * test.c
    33 */
    44#include "cf_file.h"
     
    260260    for (iter = 0 ; iter < THREAD_POOL ; iter++)
    261261    {
    262         int st;
    263262        CF_DEBUG_PRINT (stderr, "tid[%d] 0x%08x\n", iter, tid[iter]);
    264263        CF_Thread_Join (&tid[iter]);
Note: See TracChangeset for help on using the changeset viewer.