]> granicus.if.org Git - php/commitdiff
Fixed Bug #75149 redefinition of typedefs ttinfo and t1info
authorRemi Collet <remi@php.net>
Mon, 4 Sep 2017 16:35:42 +0000 (18:35 +0200)
committerRemi Collet <remi@php.net>
Mon, 4 Sep 2017 16:35:42 +0000 (18:35 +0200)
Minimal fix from upstream
Better name for struct will come later

ext/date/lib/timelib_private.h

index cd402e0ac21c07461ea5492602f67afc72f50248..efc7c8029c0f47d2e340d152ff6e559feef6cc34 100644 (file)
                m = NULL;   \
        }
 
-typedef struct ttinfo
+struct ttinfo
 {
        int32_t      offset;
        int          isdst;
@@ -123,13 +123,13 @@ typedef struct ttinfo
 
        unsigned int isstdcnt;
        unsigned int isgmtcnt;
-} ttinfo;
+};
 
-typedef struct tlinfo
+struct tlinfo
 {
        int32_t  trans;
        int32_t  offset;
-} tlinfo;
+};
 
 
 #ifndef LONG_MAX