summaryrefslogtreecommitdiff
path: root/pcl/pcident.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcl/pcident.h')
-rw-r--r--pcl/pcident.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/pcl/pcident.h b/pcl/pcident.h
index 161a7cd37..38d6f2723 100644
--- a/pcl/pcident.h
+++ b/pcl/pcident.h
@@ -35,8 +35,12 @@
typedef ulong pcl_gsid_t;
-pcl_gsid_t pcl_next_id( void );
+/* Define an opaque type for the PCL state. */
+#ifndef pcl_state_DEFINED
+# define pcl_state_DEFINED
+typedef struct pcl_state_s pcl_state_t;
+#endif
-void pcl_init_id( void );
+pcl_gsid_t pcl_next_id(P1(pcl_state_t *pcs));
#endif /* pcident_INCLUDED */