summaryrefslogtreecommitdiffabout
path: root/include
authorSergey Poznyakoff <gray@gnu.org.ua>2005-01-05 15:41:26 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2005-01-05 15:41:26 (GMT)
commit91ea068b25377e476512f5a72527d2722a3b11a3 (patch) (side-by-side diff)
tree2475b09293a7a6e50b0ccdc5fdb71ef602b3b415 /include
parentc291155f5d288ec719ba4578a8fb2fb41066544d (diff)
downloadmailutils-91ea068b25377e476512f5a72527d2722a3b11a3.tar.gz
mailutils-91ea068b25377e476512f5a72527d2722a3b11a3.tar.bz2
(mu_sql_dispatch.errstr): Changed return type to const char*
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/mailutils/sql.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mailutils/sql.h b/include/mailutils/sql.h
index df90f66..a3c89ec 100644
--- a/include/mailutils/sql.h
+++ b/include/mailutils/sql.h
@@ -1,5 +1,5 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -78,7 +78,7 @@ struct mu_sql_dispatch
int (*get_column) (mu_sql_connection_t conn, size_t nrow, size_t ncol,
char **pdata);
- char *(*errstr) (mu_sql_connection_t conn);
+ const char *(*errstr) (mu_sql_connection_t conn);
};
/* Public interfaces */
@@ -103,6 +103,6 @@ int mu_sql_num_columns (mu_sql_connection_t conn, size_t *np);
int mu_sql_get_column (mu_sql_connection_t conn, size_t nrow, size_t ncol,
char **pdata);
-char *mu_sql_strerror (mu_sql_connection_t conn);
+const char *mu_sql_strerror (mu_sql_connection_t conn);
#endif

Return to:

Send suggestions and report system problems to the System administrator.