* [gentoo-commits] gentoo-projects commit in pax-utils: macho.h paxelf.c paxmacho.c scanmacho.c
@ 2008-12-30 12:34 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2008-12-30 12:34 UTC (permalink / raw
To: gentoo-commits
vapier 08/12/30 12:34:28
Modified: macho.h paxelf.c paxmacho.c scanmacho.c
Log:
touchup whitespace style
Revision Changes Path
1.7 pax-utils/macho.h
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/macho.h?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/macho.h?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/macho.h?r1=1.6&r2=1.7
Index: macho.h
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/macho.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- macho.h 30 Dec 2008 12:02:29 -0000 1.6
+++ macho.h 30 Dec 2008 12:34:28 -0000 1.7
@@ -1,10 +1,9 @@
/*
* Copyright 2008 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/macho.h,v 1.6 2008/12/30 12:02:29 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/macho.h,v 1.7 2008/12/30 12:34:28 vapier Exp $
*/
-
#ifndef _MACHO_H
#define _MACHO_H 1
@@ -18,7 +17,6 @@
typedef int cpu_type_t;
typedef int cpu_subtype_t;
-
struct mach_header
{
uint32_t magic;
@@ -113,7 +111,6 @@
subimages, as a result the two-level
namespace hints can always be used */
-
struct mach_header_64
{
uint32_t magic;
@@ -133,7 +130,6 @@
#define CPU_TYPE_POWERPC64 (CPU_TYPE_POWERPC | CPU_ARCH_ABI64)
#define CPU_TYPE_X86_64 (CPU_TYPE_I386 | CPU_ARCH_ABI64)
-
struct load_command
{
uint32_t cmd;
@@ -211,7 +207,6 @@
framework or a client name for a bundle.
*/
-
union lc_str
{
uint32_t offset;
@@ -247,14 +242,12 @@
/* cmdsize: set to sizeof(dylib_command) plus the size of the data
* pointed to by the name field of the dylib field. */
-
struct dylinker_command {
uint32_t cmd;
uint32_t cmdsize;
union lc_str name;
};
-
struct fat_header
{
uint32_t magic;
@@ -266,7 +259,6 @@
#define FAT_CIGAM 0xbebafeca /* for intel dudes */
/* nfat_arch: the number of far_arch structures following */
-
struct fat_arch
{
cpu_type_t cputype;
1.61 pax-utils/paxelf.c
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxelf.c?rev=1.61&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxelf.c?rev=1.61&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxelf.c?r1=1.60&r2=1.61
Index: paxelf.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- paxelf.c 30 Dec 2008 12:00:06 -0000 1.60
+++ paxelf.c 30 Dec 2008 12:34:28 -0000 1.61
@@ -1,7 +1,7 @@
/*
* Copyright 2003-2007 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.60 2008/12/30 12:00:06 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.61 2008/12/30 12:34:28 vapier Exp $
*
* Copyright 2005-2007 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org>
@@ -115,8 +115,6 @@
return (char *) "??";
}
-
-
static int arm_eabi_poker(elfobj *elf);
static int arm_eabi_poker(elfobj *elf)
{
@@ -140,7 +138,6 @@
return (eflags >> 24);
}
-
const char *get_elf_eabi(elfobj *elf)
{
static char buf[26];
1.12 pax-utils/paxmacho.c
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxmacho.c?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxmacho.c?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxmacho.c?r1=1.11&r2=1.12
Index: paxmacho.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/paxmacho.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- paxmacho.c 30 Dec 2008 12:15:32 -0000 1.11
+++ paxmacho.c 30 Dec 2008 12:34:28 -0000 1.12
@@ -1,7 +1,7 @@
/*
* Copyright 2003-2008 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxmacho.c,v 1.11 2008/12/30 12:15:32 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxmacho.c,v 1.12 2008/12/30 12:34:28 vapier Exp $
*
* Copyright 2005-2007 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org>
@@ -172,7 +172,6 @@
}
}
-
/* Determines the type of this object, and sets the right 32-bit or
* 64-bits pointer. The ismach64 flag is filled in appropriately. The
* return of this function is the read magic value, or 0 when the file
@@ -320,7 +319,6 @@
return(ret);
}
-
/* undo the readmacho() stuff */
void unreadmacho(fatobj *macho)
{
1.8 pax-utils/scanmacho.c
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/scanmacho.c?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/scanmacho.c?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/scanmacho.c?r1=1.7&r2=1.8
Index: scanmacho.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/pax-utils/scanmacho.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- scanmacho.c 30 Dec 2008 12:02:29 -0000 1.7
+++ scanmacho.c 30 Dec 2008 12:34:28 -0000 1.8
@@ -1,7 +1,7 @@
/*
* Copyright 2008 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanmacho.c,v 1.7 2008/12/30 12:02:29 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanmacho.c,v 1.8 2008/12/30 12:34:28 vapier Exp $
*
* based on scanelf by:
* Copyright 2003-2007 Ned Ludd - <solar@gentoo.org>
@@ -10,7 +10,7 @@
* 2008 Fabian Groffen - <grobian@gentoo.org>
*/
-static const char *rcsid = "$Id: scanmacho.c,v 1.7 2008/12/30 12:02:29 vapier Exp $";
+static const char *rcsid = "$Id: scanmacho.c,v 1.8 2008/12/30 12:34:28 vapier Exp $";
const char * const argv0 = "scanmacho";
#include "paxinc.h"
@@ -192,7 +192,6 @@
return NULL;
}
-
/* scan a macho file and show all the fun stuff */
#define prints(str) write(fileno(stdout), str, strlen(str))
static int scanmacho_fatobj(fatobj *fobj)
@@ -523,7 +522,6 @@
return ret;
}
-
/* scan env PATH for paths */
static void scanelf_envpath(void)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-30 12:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-30 12:34 [gentoo-commits] gentoo-projects commit in pax-utils: macho.h paxelf.c paxmacho.c scanmacho.c Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox