aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/edible.h2
-rw-r--r--src/include/fnct_key.h2
-rw-r--r--src/include/sockio.h2
-rw-r--r--src/include/wct.h6
4 files changed, 6 insertions, 6 deletions
diff --git a/src/include/edible.h b/src/include/edible.h
index 99340a5e..8af60c8f 100644
--- a/src/include/edible.h
+++ b/src/include/edible.h
@@ -103,7 +103,7 @@ extern int mode; /** One of the above # defines *****/
/** Here is the structure for storing bound pf-keys ***/
typedef struct Fkey
{
- char *str;
+ const char *str;
short type;
} fkey;
diff --git a/src/include/fnct_key.h b/src/include/fnct_key.h
index 812b62b6..9adda9c1 100644
--- a/src/include/fnct_key.h
+++ b/src/include/fnct_key.h
@@ -1,7 +1,7 @@
/*
Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd.
All rights reserved.
- Copyright (C) 2007-2010, Gabriel Dos Reis.
+ Copyright (C) 2007-2011, Gabriel Dos Reis.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/include/sockio.h b/src/include/sockio.h
index c848c434..031809f2 100644
--- a/src/include/sockio.h
+++ b/src/include/sockio.h
@@ -82,7 +82,7 @@ struct openaxiom_sio {
struct sockaddr_in i_addr;
} addr;
char *host_name; /* name of foreign host if type == AF_INET */
- size_t nbytes_pending; /* pending bytes for read. */
+ int nbytes_pending; /* pending bytes for read. */
};
diff --git a/src/include/wct.h b/src/include/wct.h
index bc7a3604..fd33c089 100644
--- a/src/include/wct.h
+++ b/src/include/wct.h
@@ -1,7 +1,7 @@
/*
Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd.
All rights reserved.
- Copyright (C) 2007-2010, Gabriel Dos Reis.
+ Copyright (C) 2007-2011, Gabriel Dos Reis.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -37,7 +37,7 @@
#define OPENAXIOM_wct_INCLUDED
extern time_t ftime(char * );
-extern void fatal(char * , char * );
+extern void fatal(const char * , const char * );
extern off_t fsize(char * );
extern Wix * scanWct(Wct * , char * );
extern void reintern1Wct(Wct * );
@@ -48,7 +48,7 @@ extern void printTime(long * );
extern int skimString(char * , int , int , int );
extern int prChar(int );
extern Wct * reread1Wct(Wct * );
-extern void sfatal(char * );
+extern void sfatal(const char * );
extern Wct * read1Wct(char * );
extern Wct * nconcWct(Wct * , Wct * );
extern void sortWct(Wct * );