Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/i386/i386



dyoung%NetBSD.org@localhost wrote:

> Module Name:  src
> Committed By: dyoung
> Date:         Mon Mar 30 17:48:22 UTC 2009
> 
> Modified Files:
>       src/sys/arch/i386/i386: vm_machdep.c
> 
> Log Message:
> Cosmetic: reduce differences from amd64/amd64/vm_machdep.c by deleting
> an empty line.

src/share/misc/style says to insert it:

---
static int
dirinfo(const char *p, struct stat *sb, struct dirent *de, struct statfs *sf,
        int *rargc, char **rargv[])
{       /* Insert an empty line if the function has no local variables. */

        /*
         * In system libraries, catch obviously invalid function arguments
         * using _DIAGASSERT(3).
         */
        _DIAGASSERT(p != NULL);

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index