summaryrefslogtreecommitdiff
path: root/app/xkbcomp/utils.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-20 16:32:07 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-20 16:32:07 +0000
commit9b8aded9a19c91688b00e7bf46b0d1e750e6a470 (patch)
treee3ddb92d209bc7900db61285b0e9ca6ea0eb5c08 /app/xkbcomp/utils.h
parent59965ed6bc7f64f2121f10508622f5d58c8a8c1b (diff)
Update to xkbcomp 1.0.4
Diffstat (limited to 'app/xkbcomp/utils.h')
-rw-r--r--app/xkbcomp/utils.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/xkbcomp/utils.h b/app/xkbcomp/utils.h
index d57e6da00..ab84a4f7b 100644
--- a/app/xkbcomp/utils.h
+++ b/app/xkbcomp/utils.h
@@ -130,7 +130,7 @@ extern Boolean uSetErrorFile(
#define INFO uInformation
extern void uInformation(
- char * /* s */, ...
+ const char * /* s */, ...
)
#if defined(__GNUC__) && \
((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 6)))
@@ -147,7 +147,7 @@ __attribute__((format(printf, 1, 2)))
#define ACTION uAction
extern void uAction(
- char * /* s */, ...
+ const char * /* s */, ...
)
#if defined(__GNUC__) && \
((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 6)))
@@ -164,7 +164,7 @@ __attribute__((format(printf, 1, 2)))
#define WARN uWarning
extern void uWarning(
- char * /* s */, ...
+ const char * /* s */, ...
)
#if defined(__GNUC__) && \
((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 6)))
@@ -181,7 +181,7 @@ __attribute__((format(printf, 1, 2)))
#define ERROR uError
extern void uError(
- char * /* s */, ...
+ const char * /* s */, ...
)
#if defined(__GNUC__) && \
((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 6)))
@@ -198,7 +198,7 @@ __attribute__((format(printf, 1, 2)))
#define FATAL uFatalError
extern void uFatalError(
- char * /* s */, ...
+ const char * /* s */, ...
)
#if defined(__GNUC__) && \
((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 6)))
@@ -216,7 +216,7 @@ __attribute__((format(printf, 1, 2)))
#define WSGO uInternalError
extern void uInternalError(
- char * /* s */, ...
+ const char * /* s */, ...
)
#if defined(__GNUC__) && \
((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 6)))
@@ -256,11 +256,11 @@ extern void uFinishUp(
#define uStrCasePrefix(p,s) (strncasecmp(p,s,strlen(p))==0)
#else
extern int uStrCaseCmp(
- char * /* s1 */,
- char * /* s2 */
+ const char * /* s1 */,
+ const char * /* s2 */
);
extern int uStrCasePrefix(
- char * /* p */,
+ const char * /* p */,
char * /* str */
);
#endif
@@ -268,7 +268,7 @@ extern int uStrCasePrefix(
#define uStringDup(s1) (strdup(s1))
#else
extern char *uStringDup(
- char * /* s1 */
+ const char * /* s1 */
);
#endif