summaryrefslogtreecommitdiff
path: root/src/gc.c
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2005-03-11 16:23:00 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2005-03-11 16:23:00 +0000
commit6e96bd376c916c150a055447d4badc1fae84e47a (patch)
tree6567fee1f286c12039ae40151ba7d615fb3345a2 /src/gc.c
parentd045cb62c62f09978798510deaec0acae0a6fb4d (diff)
xc/programs/twm/add_window.c
xc/programs/twm/cursor.c xc/programs/twm/events.c xc/programs/twm/gc.c xc/programs/twm/gram.y xc/programs/twm/iconmgr.c xc/programs/twm/icons.c xc/programs/twm/list.c xc/programs/twm/menus.c xc/programs/twm/parse.c xc/programs/twm/resize.c xc/programs/twm/twm.c //bugs.freedesktop.org/show_bug.cgi?id=2566) attachment #2083 (https://bugs.freedesktop.org/attachment.cgi?id=2083) ANSI-fy twm window manager code. The conversion preserves the comments which annotate variables and function arguments (these have been moved into doxygen(esque?) "stubs" above each function. Patch by Mike Owens <etc@filespanker.com>.
Diffstat (limited to 'src/gc.c')
-rw-r--r--src/gc.c57
1 files changed, 26 insertions, 31 deletions
diff --git a/src/gc.c b/src/gc.c
index 6bc7b87..65a94f5 100644
--- a/src/gc.c
+++ b/src/gc.c
@@ -24,30 +24,30 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
-/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/
-/** Salt Lake City, Utah **/
-/** Cambridge, Massachusetts **/
-/** **/
-/** All Rights Reserved **/
-/** **/
-/** Permission to use, copy, modify, and distribute this software and **/
-/** its documentation for any purpose and without fee is hereby **/
-/** granted, provided that the above copyright notice appear in all **/
-/** copies and that both that copyright notice and this permis- **/
-/** sion notice appear in supporting documentation, and that the **/
-/** name of Evans & Sutherland not be used in advertising **/
-/** in publicity pertaining to distribution of the software without **/
-/** specific, written prior permission. **/
-/** **/
-/** EVANS & SUTHERLAND DISCLAIMs ALL WARRANTIES WITH REGARD **/
-/** TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT- **/
-/** ABILITY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND **/
-/** BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAM- **/
-/** AGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA **/
-/** OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER **/
-/** TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE **/
-/** OR PERFORMANCE OF THIS SOFTWARE. **/
-/*****************************************************************************/
+/* Copyright 1988 by Evans & Sutherland Computer Corporation, */
+/* Salt Lake City, Utah */
+/* Cambridge, Massachusetts */
+/* */
+/* All Rights Reserved */
+/* */
+/* Permission to use, copy, modify, and distribute this software and */
+/* its documentation for any purpose and without fee is hereby */
+/* granted, provided that the above copyright notice appear in all */
+/* copies and that both that copyright notice and this permis- */
+/* sion notice appear in supporting documentation, and that the */
+/* name of Evans & Sutherland not be used in advertising */
+/* in publicity pertaining to distribution of the software without */
+/* specific, written prior permission. */
+/* */
+/* EVANS & SUTHERLAND DISCLAIMs ALL WARRANTIES WITH REGARD */
+/* TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT- */
+/* ABILITY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND */
+/* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAM- */
+/* AGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA */
+/* OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER */
+/* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE */
+/* OR PERFORMANCE OF THIS SOFTWARE. */
+/*********************************************************************(*****/
/* $XFree86: xc/programs/twm/gc.c,v 1.5 2001/01/17 23:45:06 dawes Exp $ */
@@ -67,15 +67,10 @@ in this Software without prior written authorization from The Open Group.
#include "screen.h"
#include "gc.h"
-/***********************************************************************
- *
- * Procedure:
- * CreateGCs - open fonts and create all the needed GC's. I only
+/** \fn CreateGCs
+ * open fonts and create all the needed GC's. I only
* want to do this once, hence the first_time flag.
- *
- ***********************************************************************
*/
-
void
CreateGCs()
{