-/* screen.c */
-extern void compileregexps(void); /* initialize regexps of rules defined in config.h */
-extern void dofloat(void); /* arranges all windows floating */
-extern void dotile(void); /* arranges all windows tiled */
-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 */
+/* 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 */