diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-09-10 17:14:42 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-09-10 17:14:42 +0000 |
commit | 4c26f0a5a296f356afe3da2d0536d166f817b221 (patch) | |
tree | 0635d81883ea1f4b76f1137ed5ff60d0b758760c /libobjc | |
parent | 1b0086ccac98e5aa4c9c47ea4bafb251ed2a2bb4 (diff) | |
download | gcc-4c26f0a5a296f356afe3da2d0536d166f817b221.zip gcc-4c26f0a5a296f356afe3da2d0536d166f817b221.tar.gz gcc-4c26f0a5a296f356afe3da2d0536d166f817b221.tar.bz2 |
* libobjc/objc/objc-api.h (objc_trace): Unused variable removed.
From-SVN: r164199
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 4 | ||||
-rw-r--r-- | libobjc/objc/objc-api.h | 28 |
2 files changed, 16 insertions, 16 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 9ab7b51..4f9e160 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,5 +1,9 @@ 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com> + * objc/objc-api.h (objc_trace): Unused variable removed. + +2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com> + * objc/deprecated: New directory. * objc/deprecated/README: New file. * objc/README: New file. diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h index f584484..dd0305f 100644 --- a/libobjc/objc/objc-api.h +++ b/libobjc/objc/objc-api.h @@ -133,10 +133,6 @@ extern objc_error_handler objc_set_error_handler(objc_error_handler func); #define OBJC_ERR_BAD_STATE 40 /* Bad thread state */ -/* Set this variable nonzero to print a line describing each - message that is sent. (this is currently disabled) */ -extern BOOL objc_trace; - /* For every class which happens to have statically allocated instances in this module, one OBJC_STATIC_INSTANCES is allocated by the compiler. @@ -186,18 +182,18 @@ typedef struct objc_symtab { ** That array holds a pointer to each module structure of the executable. */ typedef struct objc_module { - unsigned long version; /* Compiler revision. */ - unsigned long size; /* sizeof(Module). */ - const char* name; /* Name of the file where the - module was generated. The - name includes the path. */ - - Symtab_t symtab; /* Pointer to the Symtab of - the module. The Symtab - holds an array of - pointers to - the classes and categories - defined in the module. */ + unsigned long version; /* Version of the Module data structure. */ + unsigned long size; /* sizeof(Module) according to the compiler - + only used to sanity check that it matches + sizeof(Module) according to the + runtime. */ + const char* name; /* Name of the file used to compile the + module - not set by modern compilers for + security reasons. */ + Symtab_t symtab; /* Pointer to the Symtab of the module. The + Symtab holds an array of pointers to the + classes and categories defined in the + module. */ } Module, *Module_t; |