fix the argv argument to main to let this build with clang
This commit is contained in:
parent
f64d00e3c5
commit
8152b48cb9
20
geo/globe/patches/patch-globe_c
Normal file
20
geo/globe/patches/patch-globe_c
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-globe_c,v 1.1 2017/04/22 04:10:48 jsg Exp $
|
||||
--- globe.c.orig Sat Apr 22 14:02:46 2017
|
||||
+++ globe.c Sat Apr 22 14:03:42 2017
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
@@ -733,7 +734,7 @@ static char* globes[NGLOBES][NLINES] =
|
||||
|
||||
|
||||
int
|
||||
-main( int argc, char* argv )
|
||||
+main( int argc, char* argv[] )
|
||||
{
|
||||
time_t now;
|
||||
int gnum, lnum;
|
Loading…
Reference in New Issue
Block a user