-extern void eprint(const char *errstr, ...);
-extern void *emallocz(unsigned int size);
-extern void spawn(Arg *arg);
+extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */
+extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */
+extern void *erealloc(void *ptr, unsigned int size); /* reallocates memory, exits on error */
+extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */
+
+/* view.c */
+extern void detach(Client *c); /* detaches c from global client list */
+extern void dofloat(Arg *arg); /* arranges all windows floating, arg is ignored */
+extern void dotile(Arg *arg); /* arranges all windows, arg is ignored */
+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 Bool isvisible(Client *c); /* returns True if client is visible */
+extern void resizecol(Arg *arg); /* resizes the master width with arg's index value */
+extern void restack(); /* restores z layers of all clients */
+extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */
+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 viewall(Arg *arg); /* views all tags, arg is ignored */
+extern void zoom(Arg *arg); /* zooms the focused client to master column, arg is ignored */