ecore Ecore_Getopt.h: use one liner for function declaration like other apis.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Mon, 28 Jan 2013 15:47:19 +0000 (15:47 +0000)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Mon, 28 Jan 2013 15:47:19 +0000 (15:47 +0000)
SVN revision: 83383

src/lib/ecore/Ecore_Getopt.h

index d4ce3aa709232a6e04bfa1dd02c99c07382205db..2cc73ad161209b1f258a77cf7b959ab53c6e5940 100644 (file)
@@ -405,33 +405,15 @@ struct _Ecore_Getopt
 #define ECORE_GETOPT_VALUE_LIST(val)     {.listp = &(val)}
 #define ECORE_GETOPT_VALUE_NONE {.ptrp = NULL}
 
-EAPI void
-ecore_getopt_help(FILE *fp,
-                  const Ecore_Getopt *info);
-
-EAPI Eina_Bool
- ecore_getopt_parser_has_duplicates(const Ecore_Getopt *parser);
-EAPI int
- ecore_getopt_parse(const Ecore_Getopt *parser,
-                   Ecore_Getopt_Value *values,
-                   int argc,
-                   char **argv);
+EAPI void       ecore_getopt_help(FILE *fp, const Ecore_Getopt *info);
+EAPI Eina_Bool  ecore_getopt_parser_has_duplicates(const Ecore_Getopt *parser);
+EAPI int        ecore_getopt_parse(const Ecore_Getopt *parser, Ecore_Getopt_Value *values, int argc, char **argv);
 
 EAPI Eina_List *ecore_getopt_list_free(Eina_List *list);
 
 /* helper functions to be used with ECORE_GETOPT_CALLBACK_*() */
-EAPI Eina_Bool
-ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser,
-                                     const Ecore_Getopt_Desc *desc,
-                                     const char *str,
-                                     void *data,
-                                     Ecore_Getopt_Value *storage);
-EAPI Eina_Bool
-ecore_getopt_callback_size_parse(const Ecore_Getopt *parser,
-                                 const Ecore_Getopt_Desc *desc,
-                                 const char *str,
-                                 void *data,
-                                 Ecore_Getopt_Value *storage);
+EAPI Eina_Bool  ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, const char *str, void *data, Ecore_Getopt_Value *storage);
+EAPI Eina_Bool  ecore_getopt_callback_size_parse(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, const char *str, void *data, Ecore_Getopt_Value *storage);
 
 #ifdef __cplusplus
 }