瀏覽代碼

pendantic (bis)

David Marec 8 月之前
父節點
當前提交
fb364930af
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sockraw/sockbpf.c

+ 1 - 1
sockraw/sockbpf.c

@@ -113,7 +113,7 @@ static void sender(const struct ifreq *ifr, size_t nb)
  *
  * @return -1 on error, 0 on success
  */
-static int get_hwaddr(const char *iface, struct ifreq *dest_ifr)
+static int get_hwaddr(const char * restrict iface, struct ifreq * restrict dest_ifr)
 {
 	int shw;