]> mj.ucw.cz Git - libucw.git/commitdiff
strtonum: GCC roared that a prototype is missing, hmm...
authorMartin Mares <mj@ucw.cz>
Tue, 13 Jul 2010 15:37:20 +0000 (17:37 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 13 Jul 2010 15:37:20 +0000 (17:37 +0200)
ucw/strtonum-gen.h

index 079548ffe04e32dd8c941f5454b5d9df69896c59..f339dcbc7af0c5dafd226ef8f88862965a7ded75 100644 (file)
@@ -30,6 +30,7 @@ STN_DECLARE(STN_TYPE, STN_SUFFIX)
   uns sign, base;
   err = str_to_num_init(&p, flags, &sign, &base);
 
+  auto const char *parse_string(void);
   const char *parse_string(void)
   {
     const STN_TYPE max = STN_MAX;