}
void print_error(int e) {
- char* p;
+ const char* p;
#ifdef USE_MANUAL_CALLSTACK
call_stack.enter("print_error()");
#endif /* USE_MANUAL_CALLSTACK */
return 0;
}
-char* error_string(int e) {
+const char* error_string(int e) {
#ifdef USE_MANUAL_CALLSTACK
call_stack.enter("error_string()");
#endif
- char* p;
+ const char* p;
static char buf[256];
switch(e) {
float float_element[], unsigned char char_element[],
long num_elements, float scale_factor
);
-extern char* error_string(int);
+extern const char* error_string(int);
#endif
// Write a SETI work unit header to a file
-char *receivers[]={"invalid","synthetic","ao1420"};
-char *datatypes[]={"invalid","ascii","encoded","sun_binary"};
+const char *const receivers[]={"invalid","synthetic","ao1420"};
+const char *const datatypes[]={"invalid","ascii","encoded","sun_binary"};
SETI_WU_INFO::SETI_WU_INFO(const workunit &w) :
track_mem<SETI_WU_INFO>("SETI_WU_INFO"),