[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
diff/diff.c: function "error" prototype missing
From: |
Conrad T. Pino |
Subject: |
diff/diff.c: function "error" prototype missing |
Date: |
Sat, 15 May 2004 12:16:06 -0700 |
Hi All,
diff\diff.c(603) : warning C4013: 'error' undefined; assuming extern returning
int
diff\diff.c line 603: error (0, 0, "warning: did not set stdout to binary
mode");
lib\error.h line 40: void error (int, int, const char *, ...)
Nothing in "diff" folder includes "error.h".
File "diff/diff.c" has changed slowly recently:
----------------------------
revision 1.14
date: 2004/03/22 15:37:33; author: dprice; state: Exp; lines: +3 -1
Merge changes from 1.11.x.
----------------------------
revision 1.13
date: 2002/04/29 01:41:15; author: dprice; state: Exp; lines: +6 -1
branches: 1.13.4;
* diff.c: Use the system fnmatch.h when present.
----------------------------
revision 1.12
date: 2001/03/24 22:58:30; author: noel; state: Exp; lines: +1 -1
* diff.c: fix typo in usage string.
----------------------------
revision 1.11
date: 1999/12/30 02:53:37; author: kingdon; state: Exp; lines: +9 -7
* diff.c (compare_files): Use explicit braces with if-if-else, per
GNU coding standards and gcc -Wall.
----------------------------
IMO "diff/diff.c" hasn't had a pull up of GNU diffutils in a while. I see
"diff.c" from "diffutils-2.8.1" package does include "error.h" file.
I'd like to hear some recommendations on moving forward.
TIA,
Conrad Pino
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- diff/diff.c: function "error" prototype missing,
Conrad T. Pino <=