Skip to content

fails with gcc15 #17

@pgajdos

Description

@pgajdos

This fixes the build for me:

--- smc-tools-1.8.4.orig/libnetlink.h	2025-07-08 12:22:57.938346254 +0000
+++ smc-tools-1.8.4/libnetlink.h	2025-07-08 12:23:49.772690278 +0000
@@ -60,7 +60,7 @@ int rtnl_dump(struct rtnl_handle *rth, v
 void parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len);
 int sockdiag_send(int fd, unsigned char cmd);
 void set_extension(int ext);
-int gen_nl_open();
+int gen_nl_open(char *pname);
 void gen_nl_close();
 int gen_nl_handle(int cmd, int nlmsg_flags,
 		  int (*cb_handler)(struct nl_msg *msg, void *arg), void *arg);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions