]> granicus.if.org Git - graphviz/commitdiff
sfio: remove unused 'SF_CLOSE'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 14 Aug 2022 22:12:02 +0000 (15:12 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 20 Aug 2022 03:02:56 +0000 (20:02 -0700)
All Graphviz uses were updated to use `SF_CLOSING` a long time ago.

lib/sfio/sfio.h

index 42758c7c0413fff6a6fcd1e3ed7fd574b6468be4..f0c61845d461372374ba321e468e0add5b4b4e20 100644 (file)
@@ -145,11 +145,6 @@ extern "C" {
 #define SF_SEEK                3       /* seek error                           */
 
 #define SF_CLOSING     4       /* stream is about to be closed.        */
-#if defined(_mac_SF_CLOSE) && !_mac_SF_CLOSE
-#define SF_CLOSE       SF_CLOSING      /* this was the original close event */
-    /* but AIX now uses this symbol. So we  */
-    /* avoid defining it in such cases.     */
-#endif
 
 #define SF_DPUSH       5       /* when discipline is being pushed      */
 #define SF_DPOP                6       /* when discipline is being popped      */