From 556c6afe74f50e981bdc917444bd820cb68e70f7 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Tue, 8 Feb 2011 20:46:34 +0100 Subject: [PATCH] libtriple: fix compiler warning in cs_get_revision() --- libtriple/cs_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtriple/cs_api.h b/libtriple/cs_api.h index 5512b92..292430d 100644 --- a/libtriple/cs_api.h +++ b/libtriple/cs_api.h @@ -61,6 +61,6 @@ int cs_set_ts_output(unsigned int port); unsigned long long cs_get_serial(void); #endif /* compat... HD1 seems to be version 6. everything newer ist > 6... */ -static unsigned int cs_get_revision(void) { return 1; }; +static inline unsigned int cs_get_revision(void) { return 1; }; extern int cnxt_debug; #endif //__CS_API_H_