Changeset 6022:db3345439191 in roaraudio


Ignore:
Timestamp:
07/13/14 18:21:10 (5 years ago)
Author:
phi
Branch:
default
Message:

cleanup

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/socket.h

    r5961 r6022  
    5353int roar_socket_connect (int type, const char * host, int port); 
    5454 
    55 // TODO: those function should be made /static/. 
    56 #if 0 
    57 int roar_socket_new_decnet_seqpacket (void) _LIBROAR_ATTR_TO_STATIC; 
    58 int roar_socket_new_ipxspx (void) _LIBROAR_ATTR_TO_STATIC; 
    59 #endif 
    60  
    6155int roar_socket_new        (int type); 
    6256 
  • libroar/socket.c

    r5961 r6022  
    101101} 
    102102 
    103 #if 0 
    104 static int roar_socket_new_decnet_seqpacket (void) { 
    105 #ifdef ROAR_HAVE_LIBDNET 
    106  int fh; 
    107  
    108  fh = socket(AF_DECnet, SOCK_SEQPACKET, DNPROTO_NSP); 
    109  
    110  roar_socket_decnet_set_timeout(fh, 300, 0); 
    111  
    112  return fh; 
    113 #else 
    114  return -1; 
    115 #endif 
    116 } 
    117 #endif 
    118  
    119  
    120 #if 0 
    121 static int roar_socket_new_ipxspx (void) { 
    122  return -1; 
    123 } 
    124 #endif 
    125  
    126103int roar_socket_new        (int type) { 
    127104#ifdef ROAR_HAVE_BSDSOCKETS 
Note: See TracChangeset for help on using the changeset viewer.