Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpc/stand/libsa Include <malloc.h>. Spell "unsigne...



details:   https://anonhg.NetBSD.org/src/rev/6f2d3027bcfe
branches:  trunk
changeset: 587281:6f2d3027bcfe
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed Jan 18 01:05:02 2006 +0000

description:
Include <malloc.h>.  Spell "unsigned int" in full.

diffstat:

 sys/arch/hpc/stand/libsa/alloc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 8ac38758f12b -r 6f2d3027bcfe sys/arch/hpc/stand/libsa/alloc.c
--- a/sys/arch/hpc/stand/libsa/alloc.c  Wed Jan 18 01:04:04 2006 +0000
+++ b/sys/arch/hpc/stand/libsa/alloc.c  Wed Jan 18 01:05:02 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: alloc.c,v 1.1 2001/02/09 18:35:33 uch Exp $    */
+/*     $NetBSD: alloc.c,v 1.2 2006/01/18 01:05:02 uwe Exp $    */
 
 /*-
  * Copyright (c) 1999 Shin Takemura.
@@ -35,12 +35,12 @@
  * SUCH DAMAGE.
  *
  */
-#include <stand.h>
 
-void * malloc(size_t size);
+#include <malloc.h>
+#include "stand.h"
 
 void *
-alloc(unsigned size)
+alloc(unsigned int size)
 {
        return malloc(size);
 }



Home | Main Index | Thread Index | Old Index