summaryrefslogtreecommitdiff
path: root/src/cursor.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/cursor.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/cursor.c')
-rw-r--r--src/cursor.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cursor.c b/src/cursor.c
index be0c2e6..3c15bd4 100644
--- a/src/cursor.c
+++ b/src/cursor.c
@@ -126,9 +126,7 @@ static struct _CursorName {
};
void
-NewFontCursor (cp, str)
- Cursor *cp;
- char *str;
+NewFontCursor (Cursor *cp, char *str)
{
int i;
@@ -148,9 +146,7 @@ NewFontCursor (cp, str)
}
void
-NewBitmapCursor(cp, source, mask)
- Cursor *cp;
- char *source, *mask;
+NewBitmapCursor(Cursor *cp, char *source, char *mask)
{
int hotx, hoty;
int sx, sy, mx, my;