Ignore:
Timestamp:
Feb 16, 2014, 9:20:59 PM (11 years ago)
Author:
bird
Message:

0.6: s/const/const/g - just use the (now) standard 'const' everywhere in emx and kLIBC code. Avoid changing external code too much. fixes #279.

Location:
branches/libc-0.6/src/emx/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/include

  • branches/libc-0.6/src/emx/include/netdb.h

    r1739 r3809  
    176176/* BSD */
    177177int                 TCPCALL gethostname( char *, int );
    178 struct hostent *    TCPCALL gethostbyname( __const__ char * );
    179 struct hostent *    TCPCALL gethostbyaddr( __const__ char *, int, int );
    180 struct netent *     TCPCALL getnetbyname( __const__ char * );
     178struct hostent *    TCPCALL gethostbyname( const char * );
     179struct hostent *    TCPCALL gethostbyaddr( const char *, int, int );
     180struct netent *     TCPCALL getnetbyname( const char * );
    181181struct netent *     TCPCALL getnetbyaddr( unsigned long, int );
    182 struct servent *    TCPCALL getservbyname( __const__ char *, __const__ char * );
    183 struct servent *    TCPCALL getservbyport( int, __const__ char * );
     182struct servent *    TCPCALL getservbyname( const char *, const char * );
     183struct servent *    TCPCALL getservbyport( int, const char * );
    184184struct servent *    TCPCALL getservent( void );
    185 struct protoent *   TCPCALL getprotobyname( __const__ char * );
     185struct protoent *   TCPCALL getprotobyname( const char * );
    186186struct protoent *   TCPCALL getprotobynumber( int );
    187187void                TCPCALL sethostent( int );
     
    198198void                TCPCALL endservent(void);
    199199#ifndef TCPV40HDRS
    200 struct hostent *    TCPCALL gethostbyname2( __const__ char *, int );
     200struct hostent *    TCPCALL gethostbyname2( const char *, int );
    201201#endif
    202202
     
    220220
    221221/* EMX/BSD additions. */
    222 void                TCPCALL herror(__const__ char *);
     222void                TCPCALL herror(const char *);
    223223
    224224/* EMX/BSD stuff which isn't implemeneted  */
Note: See TracChangeset for help on using the changeset viewer.