RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  [email protected]
  Module: syck                             Date:   01-Apr-2009 23:07:58
  Branch: HEAD                             Handle: 2009040121075701

  Modified files:
    syck/lib                syck_st.c token.c
    syck/tests              CuTest.h

  Log:
    - jbj: syck: add missing union to sycklex() argument.
    - jbj: syck: add proptotypes to remove test/* compile warnings.

  Summary:
    Revision    Changes     Path
    1.4         +1  -1      syck/lib/syck_st.c
    1.5         +1  -1      syck/lib/token.c
    1.3         +2  -0      syck/tests/CuTest.h
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: syck/lib/syck_st.c
  ============================================================================
  $ cvs diff -u -r1.3 -r1.4 syck_st.c
  --- syck/lib/syck_st.c        1 Apr 2009 15:11:36 -0000       1.3
  +++ syck/lib/syck_st.c        1 Apr 2009 21:07:57 -0000       1.4
  @@ -103,7 +103,7 @@
   
   /*...@unchecked@*/
   static struct st_hash_type type_strhash = {
  -    strcmp,
  +    (int (*)(const void *, const void *))strcmp,
       strhash,
   };
   
  @@ .
  patch -p0 <<'@@ .'
  Index: syck/lib/token.c
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 token.c
  --- syck/lib/token.c  31 Mar 2009 23:05:59 -0000      1.4
  +++ syck/lib/token.c  1 Apr 2009 21:07:57 -0000       1.5
  @@ -260,7 +260,7 @@
    * It's really nice to not rely on backtracking and such.
    */
   int
  -sycklex( YYSTYPE *sycklval, SyckParser *parser )
  +sycklex( union YYSTYPE *sycklval, SyckParser *parser )
   {
       switch ( parser->input_type )
       {
  @@ .
  patch -p0 <<'@@ .'
  Index: syck/tests/CuTest.h
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 CuTest.h
  --- syck/tests/CuTest.h       17 Oct 2008 20:03:39 -0000      1.2
  +++ syck/tests/CuTest.h       1 Apr 2009 21:07:58 -0000       1.3
  @@ -30,6 +30,7 @@
   void CuStringAppendChar(CuString* str, char ch);
   void CuStringAppendFormat(CuString* str, char* format, ...);
   void CuStringResize(CuString* str, int newSize);
  +void CuStringFree(CuString* str);
   
   /* CuTest */
   
  @@ -80,5 +81,6 @@
   void CuSuiteRun(CuSuite* testSuite);
   void CuSuiteSummary(CuSuite* testSuite, CuString* summary);
   void CuSuiteDetails(CuSuite* testSuite, CuString* details);
  +void CuSuiteFree(CuSuite* testSuite);
   
   #endif /* CU_TEST_H */
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                [email protected]

Reply via email to