Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
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
liblongpath
liblongpath-rsync
Commits
0c25dedf
Commit
0c25dedf
authored
Oct 13, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplified the function-finding regex, and made it more versatile
(so we don't need to keep adding variable-type strings).
parent
6105464b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
mkproto.awk
mkproto.awk
+2
-4
No files found.
mkproto.awk
View file @
0c25dedf
...
...
@@ -54,15 +54,14 @@ BEGIN {
printf
"int %s(void);\n"
,
a
[
2
]
}
/^static|^extern/
||
!
/^
[
a-zA-Z
]
/
||
/
[
;
]
/
{
/^static|^extern/
||
/
[
;
]
/
{
next
;
}
!
/^
OFF_T|^size_t|^off_t|^pid_t|^unsigned|^mode_t|^DIR|^user|^int|^char|^uint|^uchar|^short|^struct|^BOOL|^void|^time|^const|^RETSIGTYPE
/
{
!
/^
[
A-Za-z
][
A-Za-z0-9_
]
*
/
{
next
;
}
/
[
(
]
.*
[
)
][
\t]
*$/
{
printf
"%s;\n"
,
$0
;
next
;
...
...
@@ -73,4 +72,3 @@ BEGIN {
printf
"%s\n"
,
$0
;
next
;
}
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