]> granicus.if.org Git - yasm/commitdiff
Fix a couple of warnings (non-prototype functions).
authorPeter Johnson <peter@tortall.net>
Thu, 20 Sep 2007 03:55:17 +0000 (03:55 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 20 Sep 2007 03:55:17 +0000 (03:55 -0000)
svn path=/trunk/yasm/; revision=1967

frontends/yasm/yasm.c

index 93976152687edc84a3b8f6dda8a6487fe5093e43..8800d321c6e4d71b86098dd7ba31f8d59bc90e47 100644 (file)
@@ -220,7 +220,7 @@ typedef struct constcharparam {
 static constcharparam_head preproc_options;
 
 static int
-do_preproc_only()
+do_preproc_only(void)
 {
     yasm_linemap *linemap;
     char *preproc_buf = yasm_xmalloc(PREPROC_BUF_SIZE);
@@ -318,7 +318,7 @@ do_preproc_only()
 }
 
 static int
-do_assemble()
+do_assemble(void)
 {
     yasm_object *object;
     const char *base_filename;