[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] tests/genfile.c patch for C99 conformance
From: |
Paul Eggert |
Subject: |
[Bug-tar] tests/genfile.c patch for C99 conformance |
Date: |
Fri, 04 Nov 2005 14:04:36 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
genfile.c calls a couple of functions without declaring them, which is
a no-no in C99 and one of my compilers complained about it. I
installed this into paxutils:
2005-11-04 Paul Eggert <address@hidden>
* tests/genfile.c: Include getdate.h and setenv.h; needed for C99
conformance, to declare the function prototypes.
--- genfile.c 23 Jun 2005 12:18:26 -0000 1.10
+++ genfile.c 4 Nov 2005 22:02:32 -0000 1.11
@@ -28,6 +28,8 @@
#include <argmatch.h>
#include <argp.h>
#include <argcv.h>
+#include <getdate.h>
+#include <setenv.h>
#include <utimens.h>
#include <inttostr.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-tar] tests/genfile.c patch for C99 conformance,
Paul Eggert <=