mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ANSI'fy prototypes
This commit is contained in:
parent
75667314a9
commit
f9b5e461bb
3 changed files with 5 additions and 11 deletions
|
|
@ -190,8 +190,7 @@ __collate_load_tables(const char *encoding)
|
|||
}
|
||||
|
||||
u_char *
|
||||
__collate_substitute(s)
|
||||
const u_char *s;
|
||||
__collate_substitute(const u_char *s)
|
||||
{
|
||||
int dest_len, len, nlen;
|
||||
int delta = strlen(s);
|
||||
|
|
@ -218,9 +217,7 @@ __collate_substitute(s)
|
|||
}
|
||||
|
||||
void
|
||||
__collate_lookup(t, len, prim, sec)
|
||||
const u_char *t;
|
||||
int *len, *prim, *sec;
|
||||
__collate_lookup(const u_char *t, int *len, int *prim, int *sec)
|
||||
{
|
||||
struct __collate_st_chain_pri *p2;
|
||||
|
||||
|
|
@ -240,8 +237,7 @@ __collate_lookup(t, len, prim, sec)
|
|||
}
|
||||
|
||||
u_char *
|
||||
__collate_strdup(s)
|
||||
u_char *s;
|
||||
__collate_strdup(u_char *s)
|
||||
{
|
||||
u_char *t = strdup(s);
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,7 @@ __FBSDID("$FreeBSD$");
|
|||
* Compare two characters using collate
|
||||
*/
|
||||
|
||||
int __collate_range_cmp(c1, c2)
|
||||
int c1, c2;
|
||||
int __collate_range_cmp(int c1, int c2)
|
||||
{
|
||||
static char s1[2], s2[2];
|
||||
|
||||
|
|
|
|||
|
|
@ -41,8 +41,7 @@ __FBSDID("$FreeBSD$");
|
|||
#include <runetype.h>
|
||||
|
||||
unsigned long
|
||||
___runetype(c)
|
||||
__ct_rune_t c;
|
||||
___runetype(__ct_rune_t c)
|
||||
{
|
||||
size_t lim;
|
||||
_RuneRange *rr = &_CurrentRuneLocale->__runetype_ext;
|
||||
|
|
|
|||
Loading…
Reference in a new issue