c42f3b8f1c
- misc. fixes from the SGI port - some other warning cleanups and remove a check that was not serving any purpose PR: ports/118344 Submitted by: Pedro F. Giffuni <giffunip@tutopia.com>
20 lines
555 B
C
20 lines
555 B
C
--- tools/rlecat.c.orig Thu Nov 29 16:39:51 2007
|
|
+++ tools/rlecat.c Thu Nov 29 16:40:44 2007
|
|
@@ -62,7 +62,7 @@
|
|
* repeat count. If the collation flag (-c) is specified, then
|
|
* all images will be read before starting to repeat.
|
|
*/
|
|
-void
|
|
+int
|
|
main( argc, argv )
|
|
int argc;
|
|
char **argv;
|
|
@@ -110,7 +110,7 @@
|
|
nflag = 0; /* Not really repeating! */
|
|
else
|
|
{
|
|
- mktemp( temp ); /* Make a temporary file name */
|
|
+ mkstemp( temp ); /* Make a temporary file name */
|
|
tmpfile = rle_open_f( cmd_name( argv ), temp, "w+" );
|
|
}
|
|
}
|