Skip to content

Commit 4559a7c

Browse files
committed
Modernize function declarations and fix formatting in tests/LTlib.c
1 parent adb0718 commit 4559a7c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/LTlib.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
# undef DEVNO64
6161
# define DEVNO64 0x8000000000000000LL
6262
# undef ISDEVNO64
63-
# define ISDEVNO64(d) (((ulong)(d)&DEVNO64) ? 1 : 0)
63+
# define ISDEVNO64(d) (((ulong)(d) & DEVNO64) ? 1 : 0)
6464

6565
/*
6666
* Define major and minor extraction macros that work on 64 bit AIX
@@ -715,10 +715,10 @@ char *MkStrCpy(char *src, /* string source to copy */
715715
* PrtMsg() -- print message
716716
*/
717717

718-
void PrtMsg(mp, pn) char *mp; /* message pointer -- may be NULL to
719-
* trigger space prefix initialization
720-
*/
721-
char *pn; /* program name */
718+
void PrtMsg(char *mp, /* message pointer -- may be NULL to
719+
* trigger space prefix initialization
720+
*/
721+
char *pn) /* program name */
722722
{
723723
static int pfxlen = -1; /* prefix length, based on program */
724724
/* name -- computed on first call
@@ -763,10 +763,10 @@ char *pn; /* program name */
763763
* PrtMsgX() -- print message and exit
764764
*/
765765

766-
void PrtMsgX(mp, pn, f, xv) char *mp; /* message pointer */
767-
char *pn; /* program name */
768-
void (*f)(); /* clean-up function pointer */
769-
int xv; /* exit value */
766+
void PrtMsgX(char *mp, /* message pointer */
767+
char *pn, /* program name */
768+
void (*f)(), /* clean-up function pointer */
769+
int xv) /* exit value */
770770
{
771771
if (mp)
772772
PrtMsg(mp, pn);

0 commit comments

Comments
 (0)