summaryrefslogtreecommitdiff
path: root/device/if_ether.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-16 23:55:12 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-17 19:02:20 +0100
commitf4963a52e96230374826137cce44813c94853e6f (patch)
treef2cb67804faa33f4a735b9781f5bf77a830782c4 /device/if_ether.h
parent68bbdd1e18a87afede6cbdffdb8c7078ed3fa835 (diff)
device: qualify pointers whose dereferenced values are constant with const
Diffstat (limited to 'device/if_ether.h')
-rw-r--r--device/if_ether.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/if_ether.h b/device/if_ether.h
index e368fbf..91d4d9a 100644
--- a/device/if_ether.h
+++ b/device/if_ether.h
@@ -46,7 +46,7 @@ struct ether_header {
};
#ifdef KERNEL
-extern char * ether_sprintf(u_char *);
+extern char * ether_sprintf(const u_char *);
#endif /* KERNEL */
#endif /*_DEVICE_IF_ETHER_H_*/