Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f435f9

Browse files
committed
Remove extraneous semicolons after routine bodies. These don't bother
gcc, but some other compilers don't like 'em.
1 parent04eb419 commit3f435f9

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

‎contrib/isbn_issn/isbn_issn.c

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
*PostgreSQL type definitions for ISBNs.
33
*
4-
*$Id: isbn_issn.c,v 1.4 2001/11/05 17:46:23 momjian Exp $
4+
*$Id: isbn_issn.c,v 1.5 2002/11/04 17:14:29 tgl Exp $
55
*/
66

77
#include"postgres.h"
@@ -150,37 +150,37 @@ bool
150150
isbn_lt(isbn*a1,isbn*a2)
151151
{
152152
return (strncmp(a1->num,a2->num,13)<0);
153-
};
153+
}
154154

155155
bool
156156
isbn_le(isbn*a1,isbn*a2)
157157
{
158158
return (strncmp(a1->num,a2->num,13) <=0);
159-
};
159+
}
160160

161161
bool
162162
isbn_eq(isbn*a1,isbn*a2)
163163
{
164164
return (strncmp(a1->num,a2->num,13)==0);
165-
};
165+
}
166166

167167
bool
168168
isbn_ge(isbn*a1,isbn*a2)
169169
{
170170
return (strncmp(a1->num,a2->num,13) >=0);
171-
};
171+
}
172172

173173
bool
174174
isbn_gt(isbn*a1,isbn*a2)
175175
{
176176
return (strncmp(a1->num,a2->num,13)>0);
177-
};
177+
}
178178

179179
bool
180180
isbn_ne(isbn*a1,isbn*a2)
181181
{
182182
return (strncmp(a1->num,a2->num,13)!=0);
183-
};
183+
}
184184

185185
/*
186186
*Comparison function for sorting:
@@ -329,37 +329,37 @@ bool
329329
issn_lt(issn*a1,issn*a2)
330330
{
331331
return (strncmp(a1->num,a2->num,9)<0);
332-
};
332+
}
333333

334334
bool
335335
issn_le(issn*a1,issn*a2)
336336
{
337337
return (strncmp(a1->num,a2->num,9) <=0);
338-
};
338+
}
339339

340340
bool
341341
issn_eq(issn*a1,issn*a2)
342342
{
343343
return (strncmp(a1->num,a2->num,9)==0);
344-
};
344+
}
345345

346346
bool
347347
issn_ge(issn*a1,issn*a2)
348348
{
349349
return (strncmp(a1->num,a2->num,9) >=0);
350-
};
350+
}
351351

352352
bool
353353
issn_gt(issn*a1,issn*a2)
354354
{
355355
return (strncmp(a1->num,a2->num,9)>0);
356-
};
356+
}
357357

358358
bool
359359
issn_ne(issn*a1,issn*a2)
360360
{
361361
return (strncmp(a1->num,a2->num,9)!=0);
362-
};
362+
}
363363

364364
/*
365365
*Comparison function for sorting:
@@ -370,7 +370,3 @@ issn_cmp(issn * a1, issn * a2)
370370
{
371371
return (strncmp(a1->num,a2->num,9));
372372
}
373-
374-
/*
375-
*eof
376-
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp