]> granicus.if.org Git - graphviz/commitdiff
xgtk plugin demo: remove unnecessary unistd.h #includes
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 10 Apr 2022 20:10:44 +0000 (13:10 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 13 Apr 2022 02:51:25 +0000 (19:51 -0700)
This is the equivalent of 8213f08fbf584c1dfb7b7e2e84553e2a5a559a59 and
85fe454ccc64450e582e93af34baafa14aa235da but on this sample code.

Gitlab: #2204

plugin.demo/xgtk/src/gvdevice_xgtk.c
plugin.demo/xgtk/src/interface.c
plugin.demo/xgtk/src/support.c

index 440431f1d9d79cca1e10caab3f01883660d4e4b4..519b76f657398383c8f559a5a9232af46681bc33 100644 (file)
@@ -12,9 +12,6 @@
 
 #include <stdbool.h>
 #include <stdint.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
 
 #include "gvplugin_device.h"
 
index c5af53ace4b1fe7f10077415d27708cc077decb5..0e62bf2b59dd356f752f6eb863fc3457f45f05b2 100644 (file)
@@ -2,13 +2,8 @@
  * DO NOT EDIT THIS FILE - it is generated by Glade.
  */
 
-#include "config.h"
-
 #include <sys/types.h>
 #include <sys/stat.h>
-#ifdef HAVE_UNISTD_H 
-#include <unistd.h>
-#endif
 #include <string.h>
 #include <stdio.h>
 
index ad723ea3f8625a0c92a8695b6c09f92b7a4b9005..67784e8ddb009f2e38e6f5afa73fef512bfaa908 100644 (file)
@@ -2,13 +2,6 @@
  * DO NOT EDIT THIS FILE - it is generated by Glade.
  */
 
-#include "config.h"
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#ifdef HAVE_UNISTD_H 
-#include <unistd.h>
-#endif
 #include <string.h>
 #include <stdio.h>