summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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