* static struct upcache *cache;
* static unsigned int cache_hits = 0;
* #define CACHE_SIZE 4
- * void init_upcase(void)
+ * static void init_upcase(void)
* {
* cache = talloc_zero_array(NULL, struct upcache, CACHE_SIZE);
* }
* }
*
* // If you want to keep the result, talloc_link it.
- * const char *get_upcase(const char *str)
+ * static const char *get_upcase(const char *str)
* {
* struct upcache *uc = lookup_upcase(str);
* if (!uc)
* return uc->upstr;
* }
*
- * void exit_upcase(void)
+ * static void exit_upcase(void)
* {
* talloc_free(cache);
* printf("Cache hits: %u\n", cache_hits);
* return 0;
* }
*
- * Licence: GPL (2 or any later version)
+ * License: GPL (2 or any later version)
+ * Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
{