Index: uspace/app/sbi/src/strtab.c
===================================================================
--- uspace/app/sbi/src/strtab.c	(revision 1faa99588d67fde7acd1feca06054788f42aff4e)
+++ uspace/app/sbi/src/strtab.c	(revision b00255a70ff1bf87f1e8a4e2806cb362fd99721c)
@@ -30,6 +30,11 @@
  *
  * Converts strings to more compact SID (string ID, integer) and back.
- * The string table is not an object as there will never be a need for
+ * (The point is that this deduplicates the strings. Using SID might actually
+ * not be such a big win.)
+ *
+ * The string table is a singleton as there will never be a need for
  * more than one.
+ *
+ * Current implementation uses a linked list and thus it is slow.
  */
 
@@ -43,4 +48,5 @@
 static list_t str_list;
 
+/** Initialize string table. */
 void strtab_init(void)
 {
@@ -48,4 +54,12 @@
 }
 
+/** Get SID of a string.
+ *
+ * Return SID of @a str. If @a str is not in the string table yet,
+ * it is added and thus a new SID is assigned.
+ *
+ * @param str	String
+ * @return	SID of @a str.
+ */
 sid_t strtab_get_sid(const char *str)
 {
@@ -70,4 +84,12 @@
 }
 
+/** Get string with the given SID.
+ *
+ * Returns string that has SID @a sid. If no such string exists, this
+ * causes a fatal error in the interpreter.
+ *
+ * @param sid	SID of the string.
+ * @return	Pointer to the string.
+ */
 char *strtab_get_str(sid_t sid)
 {
