-/* manage.c */
-extern void attach(Client *c); /* attaches c to global client list */
-extern void attachstack(Client *c); /* attaches client to stack */
-extern void compileregexps(void); /* initialize regexps of rules defined in config.h */
-extern void detach(Client *c); /* detaches c from global client list */
-extern void detachstack(Client *c); /* detaches client from stack */
-extern void dofloat(void); /* arranges all windows floating */
-extern void dotile(void); /* arranges all windows tiled */
-extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */
-extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */
-extern Client *getclient(Window w); /* return client of w */
-extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */
-extern Bool isvisible(Client *c); /* returns True if client is visible */
-extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */
-extern void restack(void); /* restores z layers of all clients */
-extern void settags(Client *c, Client *trans); /* sets tags of c */
-extern void tag(Arg *arg); /* tags c with arg's index */
-extern void togglefloat(Arg *arg); /* toggles focusesd client between floating/non-floating state */
-extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */
-extern void toggletag(Arg *arg); /* toggles c tags with arg's index */
-extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */
-extern void view(Arg *arg); /* views the tag with arg's index */
-extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */
+/* tag.c */
+void compileregs(void); /* initialize regexps of rules defined in config.h */
+Bool isvisible(Client *c); /* returns True if client is visible */
+void settags(Client *c, Client *trans); /* sets tags of c */
+void tag(const char *arg); /* tags sel with arg's index */
+void toggletag(const char *arg); /* toggles sel tags with arg's index */
+void toggleview(const char *arg); /* toggles the tag with arg's index (in)visible */
+void view(const char *arg); /* views the tag with arg's index */