Mark wpabuf_get_trace() static

This commit is contained in:
Jouni Malinen 2009-12-28 16:02:11 +02:00 committed by Jouni Malinen
parent d2b8812921
commit 2e8542756c

View file

@ -25,7 +25,7 @@ struct wpabuf_trace {
unsigned int magic; unsigned int magic;
}; };
struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf)
{ {
return (struct wpabuf_trace *) return (struct wpabuf_trace *)
((const u8 *) buf - sizeof(struct wpabuf_trace)); ((const u8 *) buf - sizeof(struct wpabuf_trace));