From 21400b5f7b1673352004af91a7bb9d68f30a4ffb 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() Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/99a5c040a37292b08b1258bcf02b93b2bebf18a2 Author: Stefan Seyfried Date: 2011-02-08 (Tue, 08 Feb 2011) --- lib/libtriple/cs_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libtriple/cs_api.h b/lib/libtriple/cs_api.h index 5512b928d..292430d0a 100644 --- a/lib/libtriple/cs_api.h +++ b/lib/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_