Skip to content

Commit

Permalink
This is sort of silly but the reduced programs look better if the
Browse files Browse the repository at this point in the history
printf prototype is at the top.
  • Loading branch information
regehr committed Oct 31, 2011
1 parent 87fd8a7 commit f772660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/csmith_minimal.h
Expand Up @@ -28,6 +28,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

extern int printf (const char *, ...);

// FIXME-- need more versions, and a way to figure out which is needed
#include "custom_stdint_x86.h"

Expand Down Expand Up @@ -60,8 +62,6 @@ static inline void crc32_gentab (void)

int crc32_context;

extern int printf (const char *, ...);

#ifdef TCC
int strcmp (const char *s1, const char *s2)
{
Expand Down

0 comments on commit f772660

Please sign in to comment.