# HG changeset patch # User ib # Date 1358600126 0 # Node ID 36527758158b32e8376ae30d45377869e6736f85 # Parent e44757ea8f941465f0f4888a6dea19d5437f5c36 Make wsWindowDecoration() static. It now has only file scope. diff -r e44757ea8f94 -r 36527758158b gui/wm/ws.c --- a/gui/wm/ws.c Sat Jan 19 12:53:14 2013 +0000 +++ b/gui/wm/ws.c Sat Jan 19 12:55:26 2013 +0000 @@ -783,7 +783,7 @@ XSetWMNormalHints(wsDisplay, win->WindowID, &size); } -void wsWindowDecoration(wsWindow *win) +static void wsWindowDecoration(wsWindow *win) { Atom wsMotifHints; struct { diff -r e44757ea8f94 -r 36527758158b gui/wm/ws.h --- a/gui/wm/ws.h Sat Jan 19 12:53:14 2013 +0000 +++ b/gui/wm/ws.h Sat Jan 19 12:55:26 2013 +0000 @@ -182,7 +182,6 @@ void wsWindowBackground(wsWindow *win, int r, int g, int b); void wsWindowClear(wsWindow *win); void wsWindowVisibility(wsWindow *win, int vis); -void wsWindowDecoration(wsWindow *win); void wsWindowLayer(Display *display, Window Win, Bool fullscreen); void wsWindowFullscreen(wsWindow *win); void wsWindowRedraw(wsWindow *win);