From nobody@FreeBSD.ORG  Thu Oct 19 13:37:15 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 518C637B4FE; Thu, 19 Oct 2000 13:37:15 -0700 (PDT)
Message-Id: <20001019203715.518C637B4FE@hub.freebsd.org>
Date: Thu, 19 Oct 2000 13:37:15 -0700 (PDT)
From: sf@aracnet.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/include/vgl.h doesn't have and #ifndef/#define/#endif wrapper
X-Send-Pr-Version: www-1.0

>Number:         22132
>Category:       misc
>Synopsis:       /usr/include/vgl.h doesn't have and #ifndef/#define/#endif wrapper
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sobomax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 19 13:40:00 PDT 2000
>Closed-Date:    Tue Jun 19 00:20:23 PDT 2001
>Last-Modified:  Tue Jun 19 00:20:52 PDT 2001
>Originator:     Scott Flatman
>Release:        5.0-current
>Organization:
>Environment:
>Description:
/usr/include/vgl.h doesn't have an #ifndef/#define/#endif wrapper
so it can be included multiple times.

>How-To-Repeat:

>Fix:
--- vgl.h.orig  Mon Oct 16 11:22:16 2000
+++ vgl.h       Mon Oct 16 11:22:38 2000
@@ -28,6 +28,9 @@
  * $FreeBSD: src/lib/libvgl/vgl.h,v 1.5 1999/11/09 12:11:24 yokota Exp $
  */
 
+#ifndef _VGL_H_
+#define _VGL_H_
+
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
@@ -140,3 +143,5 @@
 int VGLTextSetFontFile(char *filename);
 void VGLBitmapPutChar(VGLBitmap *Object, int x, int y, byte ch, byte fgcol,
byte bgcol, int fill, int dir);
 void VGLBitmapString(VGLBitmap *Object, int x, int y, char *str, byte fgcol,
byte bgcol, int fill, int dir);
+
+#endif /* !_VGL_H_ */



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sobomax 
Responsible-Changed-By: dd 
Responsible-Changed-When: Mon Jun 18 17:14:39 PDT 2001 
Responsible-Changed-Why:  
sobomax added these lines in -current; his MFC reminder (or his PR to close 
if he doesn't want to MFC it.) 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22132 
State-Changed-From-To: open->closed 
State-Changed-By: sobomax 
State-Changed-When: Tue Jun 19 00:20:23 PDT 2001 
State-Changed-Why:  
The problem has been fixed and fix MFCed. Thank you for reporting! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22132 
>Unformatted:
