Date: Thu, 19 Oct 2000 13:37:15 -0700 (PDT) From: sf@aracnet.com To: freebsd-gnats-submit@FreeBSD.org Subject: misc/22132: /usr/include/vgl.h doesn't have and #ifndef/#define/#endif wrapper Message-ID: <20001019203715.518C637B4FE@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001019203715.518C637B4FE>