summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2010-01-30 21:02:45 -0800
committerDave Beckett <dave@dajobe.org>2010-01-30 21:02:45 -0800
commit4169828317cbb498a722691d4c40d9f6e841ff0f (patch)
tree30150f7323b80eae743f6f054761595f837127c1
parentc04d1ccb1165571f57d6c3e8c8d94768d4227eee (diff)
downloadraptor-4169828317cbb498a722691d4c40d9f6e841ff0f.tar.gz
raptor_print_locator renamed to raptor_locator_print
-rw-r--r--src/raptor.h2
-rw-r--r--src/raptor_general.c4
-rw-r--r--src/raptor_locator.c4
-rw-r--r--utils/rapper.c4
-rw-r--r--utils/rdfdiff.c4
5 files changed, 9 insertions, 9 deletions
diff --git a/src/raptor.h b/src/raptor.h
index 97ca9eac..c958470e 100644
--- a/src/raptor.h
+++ b/src/raptor.h
@@ -684,7 +684,7 @@ void raptor_parser_parse_abort(raptor_parser* rdf_parser);
/* Utility functions */
RAPTOR_API
-void raptor_print_locator(raptor_locator* locator, FILE *stream);
+void raptor_locator_print(raptor_locator* locator, FILE *stream);
RAPTOR_API
int raptor_format_locator(char *buffer, size_t length, raptor_locator* locator);
RAPTOR_API
diff --git a/src/raptor_general.c b/src/raptor_general.c
index b8782572..eb282617 100644
--- a/src/raptor_general.c
+++ b/src/raptor_general.c
@@ -642,7 +642,7 @@ raptor_log_error_varargs(raptor_world* world, raptor_log_level level,
buffer = raptor_vsnprintf(message, arguments);
if(!buffer) {
if(locator && world) {
- raptor_print_locator(locator, stderr);
+ raptor_locator_print(locator, stderr);
fputc(' ', stderr);
}
fputs("raptor ", stderr);
@@ -700,7 +700,7 @@ raptor_log_error(raptor_world* world, raptor_log_level level,
handler(handler_data, locator, message);
else {
if(locator && world) {
- raptor_print_locator(locator, stderr);
+ raptor_locator_print(locator, stderr);
fputc(' ', stderr);
}
fputs("raptor ", stderr);
diff --git a/src/raptor_locator.c b/src/raptor_locator.c
index 6b37dde8..87f8a780 100644
--- a/src/raptor_locator.c
+++ b/src/raptor_locator.c
@@ -49,7 +49,7 @@
/**
- * raptor_print_locator:
+ * raptor_locator_print:
* @locator: #raptor_locator to print
* @stream: stream to print to
*
@@ -57,7 +57,7 @@
*
**/
void
-raptor_print_locator(raptor_locator* locator, FILE *stream)
+raptor_locator_print(raptor_locator* locator, FILE *stream)
{
if(!locator)
return;
diff --git a/utils/rapper.c b/utils/rapper.c
index 0ae389fe..8cf7bcd0 100644
--- a/utils/rapper.c
+++ b/utils/rapper.c
@@ -227,7 +227,7 @@ rdfdump_error_handler(void *data, raptor_locator *locator,
if(!ignore_errors) {
fprintf(stderr, "%s: Error - ", program);
- raptor_print_locator(locator, stderr);
+ raptor_locator_print(locator, stderr);
fprintf(stderr, " - %s\n", message);
raptor_parser_parse_abort(parser);
@@ -245,7 +245,7 @@ rdfdump_warning_handler(void *data, raptor_locator *locator,
if(!ignore_warnings) {
fprintf(stderr, "%s: Warning - ", program);
- raptor_print_locator(locator, stderr);
+ raptor_locator_print(locator, stderr);
fprintf(stderr, " - %s\n", message);
}
diff --git a/utils/rdfdiff.c b/utils/rdfdiff.c
index 7cc83546..faedf9fa 100644
--- a/utils/rdfdiff.c
+++ b/utils/rdfdiff.c
@@ -445,7 +445,7 @@ rdfdiff_error_handler(void *data, raptor_locator *locator,
if(!ignore_errors) {
fprintf(stderr, "%s: Error - ", program);
- raptor_print_locator(locator, stderr);
+ raptor_locator_print(locator, stderr);
fprintf(stderr, " - %s\n", message);
raptor_parser_parse_abort(file->parser);
@@ -464,7 +464,7 @@ rdfdiff_warning_handler(void *data, raptor_locator *locator,
if(!ignore_warnings) {
fprintf(stderr, "%s: Warning - ", program);
- raptor_print_locator(locator, stderr);
+ raptor_locator_print(locator, stderr);
fprintf(stderr, " - %s\n", message);
}