From: Uwe Hermann Date: Sun, 20 Feb 2011 12:27:08 +0000 (+0100) Subject: Make load_hwplugins() private. X-Git-Tag: libsigrok-0.1.0~323 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8233ff53ae7c6e120af4784bc61a036882d5c234;p=libsigrok.git Make load_hwplugins() private. --- diff --git a/backend.c b/backend.c index 17983cd7..2bf9d41a 100644 --- a/backend.c +++ b/backend.c @@ -19,6 +19,7 @@ #include #include +#include int sr_init(void) { diff --git a/sigrok-internal.h b/sigrok-internal.h index b30d417d..85004aa1 100644 --- a/sigrok-internal.h +++ b/sigrok-internal.h @@ -20,6 +20,10 @@ #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); diff --git a/sigrok-proto.h b/sigrok-proto.h index 2b8a4858..88c84e89 100644 --- a/sigrok-proto.h +++ b/sigrok-proto.h @@ -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 */