+#ifdef __GNUC__
+#define NORETURN __dead
+#else
+#define NORETURN
+#endif
+
+#ifndef __dead /* not NetBSD, presumably */
+#define __dead ;
+#endif
+
+void add_offset(FILE *, off_t);
+int cmp_str(const void *, const void *);
+void die(const char *) NORETURN;
+void dieperror(const char *, char *) NORETURN;
+void do_order(void);
+void fwrite_be_offt(off_t, FILE *);
+void getargs(int, char *[]);
+int main(int, char *[]);
+void randomize(void);
+void usage(void) NORETURN;