Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make nowadays function specifiers go in declaration_...



details:   https://anonhg.NetBSD.org/src/rev/df6296c36007
branches:  trunk
changeset: 823231:df6296c36007
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Apr 16 20:20:24 2017 +0000

description:
nowadays function specifiers go in declaration_specifiers
(not after the declarator)

diffstat:

 usr.bin/make/make_malloc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 83c63b23c0cb -r df6296c36007 usr.bin/make/make_malloc.c
--- a/usr.bin/make/make_malloc.c        Sun Apr 16 20:14:49 2017 +0000
+++ b/usr.bin/make/make_malloc.c        Sun Apr 16 20:20:24 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make_malloc.c,v 1.10 2012/06/20 17:46:28 sjg Exp $     */
+/*     $NetBSD: make_malloc.c,v 1.11 2017/04/16 20:20:24 dholland Exp $        */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
 
 #ifdef MAKE_NATIVE
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: make_malloc.c,v 1.10 2012/06/20 17:46:28 sjg Exp $");
+__RCSID("$NetBSD: make_malloc.c,v 1.11 2017/04/16 20:20:24 dholland Exp $");
 #endif
 
 #include <stdio.h>
@@ -39,13 +39,13 @@
 #include "make.h"
 
 #ifndef USE_EMALLOC
-static void enomem(void) MAKE_ATTR_DEAD;
+static MAKE_ATTR_DEAD void enomem(void);
 
 /*
  * enomem --
  *     die when out of memory.
  */
-static void
+static MAKE_ATTR_DEAD void
 enomem(void)
 {
        (void)fprintf(stderr, "%s: %s.\n", progname, strerror(ENOMEM));



Home | Main Index | Thread Index | Old Index