]> sigrok.org Git - libsigrok.git/commitdiff
Make load_hwplugins() private.
authorUwe Hermann <redacted>
Sun, 20 Feb 2011 12:27:08 +0000 (13:27 +0100)
committerUwe Hermann <redacted>
Sun, 20 Feb 2011 20:16:22 +0000 (21:16 +0100)
backend.c
sigrok-internal.h
sigrok-proto.h

index 17983cd7a51a9537fffb8f5e30c5f94229f2b66c..2bf9d41af58a1f92396ed7b0093122fa3d7faaa6 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -19,6 +19,7 @@
 
 #include <glib.h>
 #include <sigrok.h>
+#include <sigrok-internal.h>
 
 int sr_init(void)
 {
index b30d417dd1cda8e8154e020fda89708a2d2bdf30..85004aa13f14b8c0d27586bd6efd654825a2495b 100644 (file)
 #ifndef SIGROK_SIGROK_INTERNAL_H
 #define SIGROK_SIGROK_INTERNAL_H
 
+/*--- hwplugin.c ------------------------------------------------------------*/
+
+int load_hwplugins(void);
+
 /*--- hardware/common/serial.c ----------------------------------------------*/
 
 GSList *list_serial_ports(void);
index 2b8a4858e6249cfac5a22fb6c0277d7abcf792cf..88c84e898f5e4e6d6a72c0b45a24f1853846a031 100644 (file)
@@ -61,7 +61,6 @@ int filter_probes(int in_unitsize, int out_unitsize, int *probelist,
 
 /*--- hwplugin.c ------------------------------------------------------------*/
 
-int load_hwplugins(void);
 GSList *sr_list_hwplugins(void);
 
 /* Generic device instances */