Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-tus
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-tus
Commits
684bdffe
Unverified
Commit
684bdffe
authored
Jan 03, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add basic Flexelint config
parent
60422599
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
flint.lnt
src/flint.lnt
+26
-0
flint_skel.sh
tools/flint_skel.sh
+28
-0
No files found.
src/flint.lnt
0 → 100644
View file @
684bdffe
-efile(537, tbl*)
-efile(451, tbl*)
-ecall(835, dlopen)
-e801 // goto
-ecall(840, VSB_bcat)
-e793 // significant characters in an external identifier
-esym(759, hdr_*)
-esym(765, hdr_*)
-esym(714, hdr_*)
// we can not change external interfaces / code
-emacro(818, VSPLAY_GENERATE)
-efunc(818, tus_server_*)
-esym(759, tus_files_VSPLAY_*)
-esym(765, tus_files_VSPLAY_*)
-esym(768, Vmod_vmod_*_Func::*)
-efile(766, *_if.c)
// not fully understood
-efunc(413, *_VSPLAY_NEXT)
// TODO
-e537
-e451
tools/flint_skel.sh
0 → 100755
View file @
684bdffe
#!/bin/sh
if
[
"x
$1
"
=
"x-ok"
-a
-f
_.fl
]
;
then
echo
"Saved as reference"
mv
_.fl _.fl.old
exit
0
fi
flexelint
\
-D__FLEXELINT__
\
${
VARNISHSRC
}
/flint.lnt
\
flint.lnt
\
-zero
\
-I
..
\
-I
${
VARNISHSRC
}
/include
\
-I
${
VARNISHSRC
}
/bin/varnishd
\
-I
${
VARNISHSRC
}
/lib/libvgz
\
$(
ls
*
.c |
grep
-v
_stub
)
\
2>&1 |
tee
_.fl
if
[
-f
_.fl.old
]
;
then
diff
-u
_.fl.old _.fl
fi
if
[
"x
$1
"
=
"x-ok"
]
;
then
echo
"Saved as reference"
mv
_.fl _.fl.old
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment