Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
3f435f9e
Commit
3f435f9e
authored
Nov 04, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extraneous semicolons after routine bodies. These don't bother
gcc, but some other compilers don't like 'em.
parent
04eb4198
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
17 deletions
+13
-17
contrib/isbn_issn/isbn_issn.c
contrib/isbn_issn/isbn_issn.c
+13
-17
No files found.
contrib/isbn_issn/isbn_issn.c
View file @
3f435f9e
/*
* PostgreSQL type definitions for ISBNs.
*
* $Id: isbn_issn.c,v 1.
4 2001/11/05 17:46:23 momjian
Exp $
* $Id: isbn_issn.c,v 1.
5 2002/11/04 17:14:29 tgl
Exp $
*/
#include "postgres.h"
...
...
@@ -150,37 +150,37 @@ bool
isbn_lt
(
isbn
*
a1
,
isbn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
13
)
<
0
);
}
;
}
bool
isbn_le
(
isbn
*
a1
,
isbn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
13
)
<=
0
);
}
;
}
bool
isbn_eq
(
isbn
*
a1
,
isbn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
13
)
==
0
);
}
;
}
bool
isbn_ge
(
isbn
*
a1
,
isbn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
13
)
>=
0
);
}
;
}
bool
isbn_gt
(
isbn
*
a1
,
isbn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
13
)
>
0
);
}
;
}
bool
isbn_ne
(
isbn
*
a1
,
isbn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
13
)
!=
0
);
}
;
}
/*
* Comparison function for sorting:
...
...
@@ -329,37 +329,37 @@ bool
issn_lt
(
issn
*
a1
,
issn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
9
)
<
0
);
}
;
}
bool
issn_le
(
issn
*
a1
,
issn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
9
)
<=
0
);
}
;
}
bool
issn_eq
(
issn
*
a1
,
issn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
9
)
==
0
);
}
;
}
bool
issn_ge
(
issn
*
a1
,
issn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
9
)
>=
0
);
}
;
}
bool
issn_gt
(
issn
*
a1
,
issn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
9
)
>
0
);
}
;
}
bool
issn_ne
(
issn
*
a1
,
issn
*
a2
)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
9
)
!=
0
);
}
;
}
/*
* Comparison function for sorting:
...
...
@@ -370,7 +370,3 @@ issn_cmp(issn * a1, issn * a2)
{
return
(
strncmp
(
a1
->
num
,
a2
->
num
,
9
));
}
/*
* eof
*/
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