Explorar el Código

pendantic (bis)

David Marec hace 8 meses
padre
commit
fb364930af
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;