static void extract_type_1_socket_inode(const char lname[], long * inode_p) {
static int extract_type_1_socket_inode(const char lname[], unsigned long * inode_p) {
static void extract_type_1_socket_inode(const char lname[], long * inode_p) {    /* If lname is of the form "socket:[12345]", extract the "12345"       as *inode_p.  Otherwise, return -1 as *inode_p.       */    if (strlen(lname) < PRG_SOCKET_PFXl+3) *inode_p = -1;    else if (memcmp(lname, PRG_SOCKET_PFX, PRG_SOCKET_PFXl)) *inode_p = -1;    else if (lname[strlen(lname)-1] != ']') *inode_p = -1;    else {        char inode_str[strlen(lname + 1)];  /* e.g. "12345" */        const int inode_str_len = strlen(lname) - PRG_SOCKET_PFXl - 1;        char *serr;        strncpy(inode_str, lname+PRG_SOCKET_PFXl, inode_str_len);        inode_str[inode_str_len] = '\0';        *inode_p = strtol(inode_str,&serr,0);        if (!serr || *serr || *inode_p < 0 || *inode_p >= INT_MAX)             *inode_p = -1;    }}