summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-12-09 03:44:50 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-12-09 03:44:50 +0000
commit00fc166d0954521003acd87ddaf477505767d88e (patch)
treefa2a5d91c34e090528fb7cfb77f30a90e2de8e28 /include
parent3ac7283055150fbf2004c3b0ef45ef1152849ac1 (diff)
BUILD : 1.7.6 (483) BUGS : 240 NOTES : 1. ChanServ ACCESS wrong when dealing negative numbers, 2. make strict under FreeBSD works again
git-svn-id: svn://svn.anope.org/anope/trunk@483 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@337 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/services.h2
-rw-r--r--include/sysconf.h.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/services.h b/include/services.h
index f420c0347..ff69cce0a 100644
--- a/include/services.h
+++ b/include/services.h
@@ -428,7 +428,7 @@ struct botinfo_ {
/* Access levels for users. */
typedef struct {
uint16 in_use; /* 1 if this entry is in use, else 0 */
- uint16 level;
+ int16 level;
NickCore *nc; /* Guaranteed to be non-NULL if in use, NULL if not */
time_t last_seen;
} ChanAccess;
diff --git a/include/sysconf.h.in b/include/sysconf.h.in
index cfd1cd75c..b89165c15 100644
--- a/include/sysconf.h.in
+++ b/include/sysconf.h.in
@@ -220,7 +220,7 @@ int vsnprintf(char *str, size_t size, const char *format, va_list ap);
FILE *popen(const char *command, const char *type);
int pclose(FILE *stream);
FILE *fdopen(int fildes, const char *mode);
-int fileno(FILE *stream);
+
int ftruncate(int fd, off_t length);
#ifdef HAVE_STRSIGNAL