Date: Fri, 21 Apr 2006 22:09:04 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95836 for review Message-ID: <200604212209.k3LM949u024764@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95836 Change 95836 by jb@jb_freebsd2 on 2006/04/21 22:08:09 Fix a prototype definition to suit gcc's desire to know that it really has no argument. Only define the #pragma on Solaris. Our gcc warns that it ignores #pragma. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/vmem.h#2 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/vmem.h#2 (text) ==== @@ -27,7 +27,9 @@ #ifndef _SYS_VMEM_H #define _SYS_VMEM_H +#if defined(sun) #pragma ident "@(#)vmem.h 1.13 05/06/08 SMI" +#endif #include <sys/types.h> @@ -116,7 +118,7 @@ extern vmem_t *vmem_init(const char *, void *, size_t, size_t, vmem_alloc_t *, vmem_free_t *); extern void vmem_update(void *); -extern int vmem_is_populator(); +extern int vmem_is_populator(void); extern size_t vmem_seg_size; #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604212209.k3LM949u024764>