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/3f9c0bfbb4a3
branches:  trunk
changeset: 352980:3f9c0bfbb4a3
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 6ea1c82c817e -r 3f9c0bfbb4a3 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