소스 검색

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;