Reorder members of struct castr to make nsc.c easier to read
This commit is contained in:
parent
bc0ced464b
commit
38047a62f7
3 changed files with 442 additions and 446 deletions
|
@ -212,12 +212,12 @@ typedef unsigned char nsc_flags;
|
||||||
* symbol table defining those bits.
|
* symbol table defining those bits.
|
||||||
*/
|
*/
|
||||||
struct castr {
|
struct castr {
|
||||||
packed_nsc_type ca_type;
|
|
||||||
nsc_flags ca_flags;
|
|
||||||
unsigned short ca_len;
|
|
||||||
ptrdiff_t ca_off;
|
|
||||||
char *ca_name;
|
char *ca_name;
|
||||||
|
ptrdiff_t ca_off;
|
||||||
|
packed_nsc_type ca_type;
|
||||||
|
unsigned short ca_len;
|
||||||
int ca_table;
|
int ca_table;
|
||||||
|
nsc_flags ca_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* variables using the above */
|
/* variables using the above */
|
||||||
|
|
|
@ -345,7 +345,7 @@ static int
|
||||||
xdver(int meta)
|
xdver(int meta)
|
||||||
{
|
{
|
||||||
static struct castr vers_ca = {
|
static struct castr vers_ca = {
|
||||||
NSC_STRINGY, 0, sizeof(PACKAGE_STRING), 0, "version", EF_BAD
|
"version", 0, NSC_STRINGY, sizeof(PACKAGE_STRING), EF_BAD, 0
|
||||||
};
|
};
|
||||||
struct keymatch *kp;
|
struct keymatch *kp;
|
||||||
char *sep;
|
char *sep;
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue