-/* Guesses the format of the input previously added to G using
- fmt_guesser_add, storing the guess into *F. The guessed
- format may not actually a valid input or output format, in
- that its width and number of decimal places may be outside the
- valid range for the guessed format type. The caller must
- therefore adjust the format to make it valid, e.g. by calling
- fmt_fix. */
-void
-fmt_guesser_guess (struct fmt_guesser *g, struct fmt_spec *f)
+/* Returns a guess about the format of the input previously added to G using
+ fmt_guesser_add(). The guessed format may not actually a valid input or
+ output format, in that its width and number of decimal places may be outside
+ the valid range for the guessed format type. The caller must therefore
+ adjust the format to make it valid, e.g. by calling fmt_fix(). */
+struct fmt_spec
+fmt_guesser_guess (struct fmt_guesser *g)