Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/socket.h

    r695b6ff r9d58539  
    3838#define LIBC_SOCKET_MESSAGES_H_
    3939
     40#include <ipc/net.h>
     41
    4042/** Socket client messages. */
    4143typedef enum {
    4244        /** Creates a new socket. @see socket() */
    43         NET_SOCKET = IPC_FIRST_USER_METHOD,
     45        NET_SOCKET = NET_SOCKET_FIRST,
    4446        /** Binds the socket. @see bind() */
    4547        NET_SOCKET_BIND,
     
    198200#define SOCKET_GET_OPT_NAME(call) \
    199201        ({ \
    200                 int opt_name = (int) IPC_GET_ARG2(call); \
     202                int opt_name = (int) IPC_GET_ARG4(call); \
    201203                opt_name; \
    202204        })
Note: See TracChangeset for help on using the changeset viewer.