Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ul Make the function static in the definition (proto...
details: https://anonhg.NetBSD.org/src/rev/32f54f8c6f67
branches: trunk
changeset: 816032:32f54f8c6f67
user: abhinav <abhinav%NetBSD.org@localhost>
date: Mon Jun 13 14:58:57 2016 +0000
description:
Make the function static in the definition (prototype was already declared static).
Missed in my last commit.
diffstat:
usr.bin/ul/ul.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f5894e5ddf86 -r 32f54f8c6f67 usr.bin/ul/ul.c
--- a/usr.bin/ul/ul.c Mon Jun 13 14:23:26 2016 +0000
+++ b/usr.bin/ul/ul.c Mon Jun 13 14:58:57 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ul.c,v 1.17 2016/06/12 13:29:29 abhinav Exp $ */
+/* $NetBSD: ul.c,v 1.18 2016/06/13 14:58:57 abhinav Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: ul.c,v 1.17 2016/06/12 13:29:29 abhinav Exp $");
+__RCSID("$NetBSD: ul.c,v 1.18 2016/06/13 14:58:57 abhinav Exp $");
#endif /* not lint */
#include <err.h>
@@ -507,7 +507,7 @@
* Reallocates the buffer pointed to by *buf and sets
* the newly allocated set of bytes to 0.
*/
-void
+static void
alloc_buf(struct CHAR **buf, size_t *size)
{
size_t osize = *size;
Home |
Main Index |
Thread Index |
Old Index