uri: put `inline` at beginning of strpbrk_or_eos declaration
[lttng-tools.git] / src / common / uri.c
index 7fe4dd3b30af4796a855fb28cb83f5f4fca827ce..a2a5038deb54d39df0aabe297af11b0644fa6005 100644 (file)
@@ -61,7 +61,7 @@ static const struct uri_proto proto_uri[] = {
  * Return pointer to the character in s matching one of the characters in
  * accept. If nothing is found, return pointer to the end of string (eos).
  */
-static const inline char *strpbrk_or_eos(const char *s, const char *accept)
+static inline const char *strpbrk_or_eos(const char *s, const char *accept)
 {
        char *p = strpbrk(s, accept);
        if (p == NULL) {
This page took 0.022994 seconds and 4 git commands to generate.