Changeset 25c4c78 for lib


Ignore:
Timestamp:
2015-01-16T19:50:24Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
a6cd799
Parents:
7549d00
git-author:
Jason Copenhaver <jcopenha@…> (16-01-15 19:50:24)
git-committer:
dequis <dx@…> (16-01-15 19:50:24)
Message:

Fix compiler warnings on Cygwin and Mac OS X.

  • Don't use PIE/PIC on Cygwin/Darwin unless specified as these platforms don't support it.
  • Cleanup warnings for 'make check' build.
  • Fix the type issue for getsockopt calls.
  • Fix enum warnings in Yahoo libs on Mac OS X.
Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/ns_parse.c

    r7549d00 r25c4c78  
    1919
    2020#ifndef lint
    21 static const char rcsid[] = "$Id: ns_parse.c,v 1.10 2009/01/23 19:59:16 each Exp $";
     21//static const char rcsid[] = "$Id: ns_parse.c,v 1.10 2009/01/23 19:59:16 each Exp $";
    2222#endif
    2323
  • lib/proxy.c

    r7549d00 r25c4c78  
    6666{
    6767        struct PHB *phb = data;
    68         unsigned int len;
     68        socklen_t len;
    6969        int error = ETIMEDOUT;
    7070        len = sizeof(error);
     
    214214        char cmd[384];
    215215        struct PHB *phb = data;
    216         unsigned int len;
     216        socklen_t len;
    217217        int error = ETIMEDOUT;
    218218        if (phb->inpa > 0)
     
    309309        struct hostent *hp;
    310310        struct PHB *phb = data;
    311         unsigned int len;
     311        socklen_t len;
    312312        int error = ETIMEDOUT;
    313313        if (phb->inpa > 0)
     
    501501        int i;
    502502        struct PHB *phb = data;
    503         unsigned int len;
     503        socklen_t len;
    504504        int error = ETIMEDOUT;
    505505        if (phb->inpa > 0)
Note: See TracChangeset for help on using the changeset viewer.