summaryrefslogtreecommitdiff
path: root/src/iconmgr.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 22:54:01 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 22:54:01 -0700
commitce4e11143f982234be1076e384b31228f1cc84ae (patch)
treeaf718100e164c7f87ea7412d453aedf33162b591 /src/iconmgr.c
parent8a3d3a58350506a99efd24f9856466a99bbb9c51 (diff)
Make more functions static that aren't called from other files
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/iconmgr.c')
-rw-r--r--src/iconmgr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/iconmgr.c b/src/iconmgr.c
index 29c3c16..78e88b3 100644
--- a/src/iconmgr.c
+++ b/src/iconmgr.c
@@ -42,6 +42,8 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xos.h>
#include <X11/Xmu/CharSet.h>
+static void InsertInIconManager ( IconMgr *ip, WList *tmp, TwmWindow *tmp_win );
+
int iconmgr_textx = siconify_width+11;
static WList *Active = NULL;
WList *DownIconManager = NULL;
@@ -451,7 +453,7 @@ WList *AddIconManager(TwmWindow *tmp_win)
* \param ip the icon manager pointer
* \param tmp the entry to insert
*/
-void InsertInIconManager(IconMgr *ip, WList *tmp, TwmWindow *tmp_win)
+static void InsertInIconManager(IconMgr *ip, WList *tmp, TwmWindow *tmp_win)
{
WList *tmp1;
int added;
@@ -493,7 +495,7 @@ void InsertInIconManager(IconMgr *ip, WList *tmp, TwmWindow *tmp_win)
}
}
-void RemoveFromIconManager(IconMgr *ip, WList *tmp)
+static void RemoveFromIconManager(IconMgr *ip, WList *tmp)
{
if (tmp->prev == NULL)
ip->first = tmp->next;