]> granicus.if.org Git - graphviz/commitdiff
remove unused _proto_open declaration
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 12 Sep 2020 19:10:10 +0000 (12:10 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 19 Sep 2020 00:35:04 +0000 (17:35 -0700)
No C++ code #includes this file. Related to #1422 and #1521.

lib/sfio/sfhdr.h

index 97a0f6b681b79470a7c1c004331be23c6cbb07db..1b0a54ad091419517a223a5e0b25a88605de18ce 100644 (file)
@@ -794,10 +794,6 @@ extern "C" {
 #endif
 #endif /*_lib_poll*/
 
-#if _proto_open && defined(__cplusplus)
-    extern int open(const char *, int, ...);
-#endif
-
 #endif /*_SFHDR_H*/
 #ifdef __cplusplus
 }