From owner-freebsd-bugs Thu Oct 19 13:40: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5EC0B37B4CF for ; Thu, 19 Oct 2000 13:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA05335; Thu, 19 Oct 2000 13:40:01 -0700 (PDT) (envelope-from gnats@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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/22132: /usr/include/vgl.h doesn't have and #ifndef/#define/#endif wrapper Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 19 13:40:00 PDT 2000 >Closed-Date: >Last-Modified: >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 #include #include @@ -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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message