#define unparse_boolean(x) ((x) ? "1" : "0")
char *unparse_dbref(dbref num);
-char *unparse_integer(long num);
-char *unparse_uinteger(unsigned long num);
+char *unparse_integer(intmax_t num);
+char *unparse_uinteger(uintmax_t num);
char *unparse_number(NVAL num);
char *unparse_types(int type);
#include "cron.h"
#include <ctype.h>
-#ifdef I_STRING
#include <string.h>
-#endif
#ifdef MUSHCRON
void
db_write_labeled_time_t(FILE * f, char const *label, time_t value)
{
- OUTPUT(fprintf(f, "%s %zu\n", label, value));
+/* FIXME: I added (size_t) type cast just to get it to compile */
+ OUTPUT(fprintf(f, "%s %zu\n", label, (size_t)value));
}
void
static char *crunch_code(char *code);
static char *crypt_code(char *code, char *text, int type);
+#ifdef HAVE_SSL
static void safe_hexchar(unsigned char c, char *buff, char **bp);
+#endif /* HAVE_SSL */
static bool
encode_base64
#endif
}
+#ifdef HAVE_SSL
static void
safe_hexchar(unsigned char c, char *buff, char **bp)
{
(*bp)++;
}
}
+#endif
#include "copyrite.h"
#include "config.h"
-#ifdef I_STRING
#include <string.h>
-#else
#include <strings.h>
-#endif
#include "conf.h"
#include "externs.h"
#include "division.h"