Module Name:    src
Committed By:   simonb
Date:           Wed Jan 18 08:07:22 UTC 2023

Modified Files:
        src/lib/libc/gen: basename.c

Log Message:
KNF nit: opening brace of a function on next line.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/gen/basename.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/basename.c
diff -u src/lib/libc/gen/basename.c:1.11 src/lib/libc/gen/basename.c:1.12
--- src/lib/libc/gen/basename.c:1.11	Wed Jul 16 10:52:26 2014
+++ src/lib/libc/gen/basename.c	Wed Jan 18 08:07:22 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: basename.c,v 1.11 2014/07/16 10:52:26 christos Exp $	*/
+/*	$NetBSD: basename.c,v 1.12 2023/01/18 08:07:22 simonb Exp $	*/
 
 /*-
  * Copyright (c) 1997, 2002 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: basename.c,v 1.11 2014/07/16 10:52:26 christos Exp $");
+__RCSID("$NetBSD: basename.c,v 1.12 2023/01/18 08:07:22 simonb Exp $");
 #endif /* !LIBC_SCCS && !lint */
 
 #include "namespace.h"
@@ -91,7 +91,8 @@ out:
 #if !HAVE_BASENAME
 
 char *
-basename(char *path) {
+basename(char *path)
+{
 	static char result[PATH_MAX];
 
 	(void)xbasename_r(path, result, sizeof(result));

Reply via email to