diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-23 14:37:33 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-23 14:37:33 +0000 |
commit | 4dc272c3197453df95cf811848bb4f5d030c2299 (patch) | |
tree | 49b619ef75f20ddb55b7b4150aa285abed925b16 /net/mopd/files/patch-file.c | |
parent | Fix build on sparc64 (diff) |
Fix build with gcc-3.4
Pet portlint.
Notes
Notes:
svn path=/head/; revision=117126
Diffstat (limited to 'net/mopd/files/patch-file.c')
-rw-r--r-- | net/mopd/files/patch-file.c | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/net/mopd/files/patch-file.c b/net/mopd/files/patch-file.c index 384a5bdd8ce7..676e60b50a32 100644 --- a/net/mopd/files/patch-file.c +++ b/net/mopd/files/patch-file.c @@ -1,8 +1,40 @@ ---- common/file.c.orig Fri Aug 16 15:39:41 1996 -+++ common/file.c Wed Jul 7 01:27:32 2004 -@@ -45,4 +45,5 @@ + +$FreeBSD$ + +--- common/file.c.orig Sat Aug 17 00:39:41 1996 ++++ common/file.c Mon Aug 23 16:36:03 2004 +@@ -44,6 +44,7 @@ + #endif #if defined(__FreeBSD__) #include <sys/imgact_aout.h> +#include <sys/endian.h> #endif #if !defined(MID_VAX) + #define MID_VAX 140 +@@ -345,7 +346,7 @@ + mid = MID_ARM6; + break; + #endif +- default: ++ default: break; + /*###352 [cc] syntax error before `}'%%%*/ + } + +@@ -522,7 +523,7 @@ + ex.a_trsize= mopFileGetBX((u_char *)&ex_swap, 24, 4); + ex.a_drsize= mopFileGetBX((u_char *)&ex_swap, 28, 4); + break; +- default: ++ default: break; + /*###525 [cc] syntax error before `}'%%%*/ + } + +@@ -575,7 +576,7 @@ + printf("arm32"); + break; + #endif +- default: ++ default: break; + } + printf(") Magic: "); + switch (N_GETMAGIC (ex)) { |