]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
void printf(...) -> int printf(...) quiets gcc warning
authorDave Hart <hart@ntp.org>
Sun, 3 May 2009 06:25:51 +0000 (06:25 +0000)
committerDave Hart <hart@ntp.org>
Sun, 3 May 2009 06:25:51 +0000 (06:25 +0000)
../../libparse/clk_computime.c:57: warning: conflicting types for built-in function 'printf'

bk: 49fd38ef5gtaTmhN2ybqx-H-ZVf8Bw

libparse/clk_computime.c
libparse/clk_dcf7000.c
libparse/clk_hopf6021.c
libparse/clk_rcc8000.c
libparse/clk_schmid.c
libparse/clk_trimtaip.c
libparse/clk_varitext.c
ports/winnt/ntpd/ntpd.vcproj

index b15f98764e266495e8b8678e21d5dd12094e75b6..1068576f88aa9be18d0dab6a25fc4de3dd10f0c0 100644 (file)
@@ -54,7 +54,7 @@
 #include <stdio.h>
 #else
 #include "sys/parsestreams.h"
-extern void printf (const char *, ...);
+extern int printf (const char *, ...);
 #endif
 
 /*
index 1a4af6e90af523c9bcfc722cb832f5919bb92ea7..bfd9a744acb36a97cda5acb2618066f9d4e02511 100644 (file)
@@ -51,7 +51,7 @@
 #include <stdio.h>
 #else
 #include "sys/parsestreams.h"
-extern void printf (const char *, ...);
+extern int printf (const char *, ...);
 #endif
 
 static struct format dcf7000_fmt =
index 87ea464b5803418db74f4b0eaab9eb9d888e44fc..033d2d2ca4e71c847292c5c41534591b8fef1c44 100644 (file)
@@ -34,7 +34,7 @@
 #include <stdio.h>
 #else
 #include "sys/parsestreams.h"
-extern void printf (const char *, ...);
+extern int printf (const char *, ...);
 #endif
 
 /* 
index d4319728dc00006f834582fce7ca484a8c0314f5..6dca1660d4450210f714b13cd577ddab41d9b696 100644 (file)
@@ -30,7 +30,7 @@
 #include <stdio.h>
 #else
 #include "sys/parsestreams.h"
-extern void printf (const char *, ...);
+extern int printf (const char *, ...);
 #endif
 
 /* Type II Serial Output format
index 37991e1585f4ce9cd573076c4d241b59a82dc742..045f0fcf5a8f6671db7bfe75e0fe41ef858b8945 100644 (file)
@@ -52,7 +52,7 @@
 #include <stdio.h>
 #else
 #include "sys/parsestreams.h"
-extern void printf (const char *, ...);
+extern int printf (const char *, ...);
 #endif
 
 /*
index e86b6bf0471096d4cccefd9023d48bc67bf16602..322d0fa08e8945e94235ba8a127bf121ade30abb 100644 (file)
@@ -51,7 +51,7 @@
 #include <stdio.h>
 #else
 #include "sys/parsestreams.h"
-extern void printf (const char *, ...);
+extern int printf (const char *, ...);
 #endif
 
 /*     0000000000111111111122222222223333333   / char
index 47b370390f75fb6f87aad730022716fdcfc19f4e..295ce0af7589e8135ecb92d017616aafb74f3190 100644 (file)
@@ -55,7 +55,7 @@
 # include <stdio.h>
 #else
 # include "sys/parsestreams.h"
-extern void printf (const char *, ...);
+extern int printf (const char *, ...);
 #endif
 
 static const u_char VT_INITIALISED      = 0x01;
index 68f4116ba739300c4c7210f94d8b09991fc62f63..88f11190fb243d577872e5f4856ae15d47efed3c 100644 (file)
                                        />
                                </FileConfiguration>
                        </File>
+                       <File
+                               RelativePath="..\..\..\libparse\clk_varitext.c"
+                               >
+                               <FileConfiguration
+                                       Name="Debug|Win32"
+                                       ExcludedFromBuild="true"
+                                       >
+                                       <Tool
+                                               Name="VCCLCompilerTool"
+                                       />
+                               </FileConfiguration>
+                       </File>
                        <File
                                RelativePath="..\..\..\libparse\data_mbg.c"
                                >