projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Define __intptr_t.
[kopensolaris-gnu/glibc.git]
/
mach
/
errorlib.h
diff --git
a/mach/errorlib.h
b/mach/errorlib.h
index
612774e
..
7fe6350
100644
(file)
--- a/
mach/errorlib.h
+++ b/
mach/errorlib.h
@@
-26,8
+26,11
@@
/*
* HISTORY
* $Log$
/*
* HISTORY
* $Log$
- * Revision 1.2 1993/11/18 10:13:58 roland
- * Formerly ../mach/errorlib.h.~2~
+ * Revision 1.5 1995/03/10 23:57:44 roland
+ * (errors): Use const for decl.
+ *
+ * Revision 1.4 1993/12/17 21:56:16 roland
+ * entered into RCS
*
* Revision 2.3 92/03/31 15:18:52 rpd
* Added KERN_DEVICE_MOD for device errors.
*
* Revision 2.3 92/03/31 15:18:52 rpd
* Added KERN_DEVICE_MOD for device errors.
@@
-70,18
+73,18
@@
#define NO_SUCH_ERROR "unknown error code"
struct error_subsystem {
#define NO_SUCH_ERROR "unknown error code"
struct error_subsystem {
- c
har
* subsys_name;
+ c
onst char
* subsys_name;
int max_code;
int max_code;
- c
har *
* codes;
+ c
onst char * const
* codes;
};
struct error_system {
int max_sub;
};
struct error_system {
int max_sub;
- c
har
* bad_sub;
-
struct error_subsystem
* subsystem;
+ c
onst char
* bad_sub;
+
const struct error_subsystem
* subsystem;
};
#define errors __mach_error_systems
};
#define errors __mach_error_systems
-extern
struct error_system
errors[err_max_system+1];
+extern
const struct error_system
errors[err_max_system+1];
#define errlib_count(s) (sizeof(s)/sizeof(s[0]))
#define errlib_count(s) (sizeof(s)/sizeof(s[0]))