author | Theodore Ts'o <tytso@mit.edu> | |
Fri, 30 Mar 2007 23:07:05 +0000 (19:07 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 31 Mar 2007 08:11:11 +0000 (01:11 -0700) | ||
commit | 46efd2d93ce39fd5c1a91f0a2f918f2d8bbfdf92 | |
tree | e49b5f87de3bd93be27c8cb0ee33cbb7e69f4d11 | tree | snapshot |
parent | 86747c132b87fc97bbb134baaffe9ecc12c5a90d | commit | diff |
Rename warn() to warning() to fix symbol conflicts on BSD and Mac OS
This fixes a problem reported by Randal Schwartz:
>I finally tracked down all the (albeit inconsequential) errors I was getting
>on both OpenBSD and OSX. It's the warn() function in usage.c. There's
>warn(3) in BSD-style distros. It'd take a "great rename" to change it, but if
>someone with better C skills than I have could do that, my linker and I would
>appreciate it.
It was annoying to me, too, when I was doing some mergetool testing on
Mac OS X, so here's a fix.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: "Randal L. Schwartz" <merlyn@stonehenge.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This fixes a problem reported by Randal Schwartz:
>I finally tracked down all the (albeit inconsequential) errors I was getting
>on both OpenBSD and OSX. It's the warn() function in usage.c. There's
>warn(3) in BSD-style distros. It'd take a "great rename" to change it, but if
>someone with better C skills than I have could do that, my linker and I would
>appreciate it.
It was annoying to me, too, when I was doing some mergetool testing on
Mac OS X, so here's a fix.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: "Randal L. Schwartz" <merlyn@stonehenge.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-bundle.c | diff | blob | history | |
fast-import.c | diff | blob | history | |
git-compat-util.h | diff | blob | history | |
revision.c | diff | blob | history | |
usage.c | diff | blob | history |