From: Philippe E. <ph...@us...> - 2002-05-22 03:20:36
|
Update of /cvsroot/oprofile/oprofile/libutil In directory usw-pr-cvs1:/tmp/cvs-serv5701/libutil Modified Files: op_fileio.c op_libiberty.h Log Message: gui: libdb: libopt++: libutil: libutil++: oprof_report: pp: all C/c++ source/header file, fix a few doxygen warning, many const type to type const + other minor comestic change. no functionality change Phil Index: op_fileio.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/libutil/op_fileio.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- op_fileio.c 8 May 2002 13:52:40 -0000 1.5 +++ op_fileio.c 22 May 2002 03:20:33 -0000 1.6 @@ -95,7 +95,7 @@ * Write @size bytes of buffer @buf to a file. * Failure is fatal. */ -void op_write_file(FILE * fp, const void * buf, size_t size) +void op_write_file(FILE * fp, void const * buf, size_t size) { size_t written; Index: op_libiberty.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libutil/op_libiberty.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- op_libiberty.h 8 May 2002 13:14:39 -0000 1.4 +++ op_libiberty.h 22 May 2002 03:20:33 -0000 1.5 @@ -36,7 +36,7 @@ * ourself the missing proto */ #ifndef HAVE_LIBIBERTY_H /* Set the program name used by xmalloc. */ -void xmalloc_set_program_name(const char *); +void xmalloc_set_program_name(char const *); /* Allocate memory without fail. If malloc fails, this will print a message to stderr (using the name set by xmalloc_set_program_name, @@ -52,7 +52,7 @@ void * xcalloc(size_t, size_t) OP_ATTRIB_MALLOC; /* Copy a string into a memory buffer without fail. */ -char *xstrdup(const char *) OP_ATTRIB_MALLOC; +char *xstrdup(char const *) OP_ATTRIB_MALLOC; #endif /* !HAVE_LIBIBERTY_H */ #ifdef __cplusplus |