Changeset 286 for trunk

Show
Ignore:
Timestamp:
10/24/2007 10:44:51 (13 months ago)
Author:
indeyets
Message:

fixed some compile-warnings

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/syck.c

    r233 r286  
    3131 */ 
    3232char * 
    33 syck_strndup( char *buf, long len ) 
     33syck_strndup( const char *buf, long len ) 
    3434{ 
    3535    char *new = S_ALLOC_N( char, len + 1 ); 
  • trunk/lib/syck.h

    r269 r286  
    2020#define SYCK_VERSION    "0.61" 
    2121#define YAML_DOMAIN     "yaml.org,2002" 
     22 
     23#include "config.h" 
    2224 
    2325#ifdef HAVE_STDLIB_H 
     
    382384 * API prototypes 
    383385 */ 
    384 char *syck_strndup( char *, long ); 
     386char *syck_strndup( const char *, long ); 
    385387long syck_io_file_read( char *, SyckIoFile *, long, long ); 
    386388long syck_io_str_read( char *, SyckIoStr *, long, long ); 
  • trunk/tests/CuTest.h

    r269 r286  
    3131void CuStringAppendFormat(CuString* str, char* format, ...); 
    3232void CuStringResize(CuString* str, int newSize); 
     33void CuStringFree(CuString* str); 
    3334 
    3435void CuStringFree(CuString *str); 
     
    7879void CuSuiteInit(CuSuite* testSuite); 
    7980CuSuite* CuSuiteNew(); 
     81void CuSuiteFree(CuSuite* testSuite); 
    8082void CuSuiteAdd(CuSuite* testSuite, CuTest *testCase); 
    8183void CuSuiteAddSuite(CuSuite* testSuite, CuSuite* testSuite2);