File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11version : 2
22jobs :
3- fedora40_cmake :
3+ fedora42_cmake :
44 working_directory : ~/libreadtags
55 docker :
6- - image : docker.io/fedora:40
6+ - image : docker.io/fedora:42
77 steps :
88 - run :
99 name : Install Git
@@ -34,10 +34,10 @@ jobs:
3434 cmake --build build --target install
3535 test -e /usr/local/include/readtags.h
3636 test -e /usr/local/lib/libreadtags.so
37- fedora40_autotools :
37+ fedora42_autotools :
3838 working_directory : ~/libreadtags
3939 docker :
40- - image : docker.io/fedora:40
40+ - image : docker.io/fedora:42
4141 steps :
4242 - run :
4343 name : Install Git
@@ -58,10 +58,10 @@ jobs:
5858 name : Test
5959 command : |
6060 make check VERBOSE=1
61- fedora40_distcheck :
61+ fedora42_distcheck :
6262 working_directory : ~/libreadtags
6363 docker :
64- - image : docker.io/fedora:40
64+ - image : docker.io/fedora:42
6565 steps :
6666 - run :
6767 name : Install Git
@@ -85,6 +85,6 @@ workflows:
8585 version : 2
8686 build_and_test :
8787 jobs :
88- - fedora40_cmake
89- - fedora40_autotools
90- - fedora40_distcheck
88+ - fedora42_cmake
89+ - fedora42_autotools
90+ - fedora42_distcheck
Original file line number Diff line number Diff line change 99/*
1010* INCLUDE FILES
1111*/
12+ #ifdef HAVE_CTAGS_INLINE_H
13+ /* the build script of ctags can insert thee macro
14+ definition for READTAGS_INLINE. */
15+ #include "inline.h"
16+ #else
17+ /* Makefile generated by configure defines inline. */
18+ #define READTAGS_INLINE static inline
19+ #endif
20+
1221#include <stdlib.h>
1322#include <string.h>
1423#include <ctype.h>
@@ -151,8 +160,8 @@ static int xdigitValue (unsigned char digit)
151160 * Reads the first character from the string, possibly un-escaping it, and
152161 * advances *s to the start of the next character.
153162 */
154- inline
155- static int readTagCharacter (const char * * const s )
163+ READTAGS_INLINE
164+ int readTagCharacter (const char * * const s )
156165{
157166 const unsigned char * p = (const unsigned char * ) * s ;
158167 int c = * p ;
You can’t perform that action at this time.
0 commit comments