Changeset 98320


Ignore:
Timestamp:
Oct 3, 2012, 12:28:30 AM (12 years ago)
Author:
ryandesign@…
Message:

php-peb: fix build with clang (#34651)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/php/php-peb/files/patch-peb.c.diff

    r93164 r98320  
    11--- peb.c.orig  2010-03-08 20:12:02.000000000 -0600
    2 +++ peb.c       2012-05-16 18:03:25.000000000 -0500
     2+++ peb.c       2012-10-01 11:54:39.000000000 -0700
    33@@ -297,8 +297,8 @@
    44 
     
    2525                                ZEND_REGISTER_RESOURCE(return_value, alink, le_plink);
    2626                }
     27@@ -693,7 +693,7 @@
     28 }
     29 /* }}} */
     30 
     31-int _peb_encode_term(ei_x_buff* x,char **fmt,int * fmtpos, HashTable *arr, unsigned long * arridx)
     32+static void _peb_encode_term(ei_x_buff* x,char **fmt,int * fmtpos, HashTable *arr, unsigned long * arridx)
     33 {
     34                char* p = *fmt + *fmtpos;
     35                int i,v;
     36@@ -802,7 +802,7 @@
     37 
     38 }
     39 
     40-int _peb_encode(ei_x_buff* x, char** fmt, int fmt_len, int * fmtpos, HashTable *arr, unsigned long * arridx)
     41+static void _peb_encode(ei_x_buff* x, char** fmt, int fmt_len, int * fmtpos, HashTable *arr, unsigned long * arridx)
     42 {
     43                /*
     44                ~a - an atom, char*
Note: See TracChangeset for help on using the changeset viewer.