]> granicus.if.org Git - neomutt/commitdiff
unused prototypes - unsupported systems
authorRichard Russon <rich@flatcap.org>
Mon, 1 May 2017 02:19:17 +0000 (03:19 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 2 May 2017 16:34:43 +0000 (17:34 +0100)
Drop compatibility for unsupported platforms

protos.h

index dc9ecca71a478c24452046a6050af04d1a754a10..1ba7f1d55bc419634f17b831819a378754505372 100644 (file)
--- a/protos.h
+++ b/protos.h
@@ -434,26 +434,8 @@ pattern_t *mutt_pattern_comp(/* const */ char *s, int flags, BUFFER *err);
 void mutt_check_simple(char *s, size_t len, const char *simple);
 void mutt_pattern_free(pattern_t **pat);
 
-/* ----------------------------------------------------------------------------
- * Prototypes for broken systems
- */
-
-/* HP-UX, ConvexOS and UNIXware don't have this macro */
-#ifndef S_ISLNK
-#define S_ISLNK(x) (((x) &S_IFMT) == S_IFLNK ? 1 : 0)
-#endif
-
 int getdnsdomainname(char *, size_t);
 
-/* According to SCO support, this is how to detect SCO */
-#if defined(_M_UNIX) || defined(MUTT_OS)
-#define SCO
-#endif
-
-#ifdef _AIX
-int setegid(gid_t);
-#endif /* _AIX */
-
 /* unsorted */
 void ci_bounce_message(HEADER *h);
 int ci_send_message(int flags, HEADER *msg, char *tempfile, CONTEXT *ctx, HEADER *cur);