Make DATASTORE_CHUNKSIZE private.
This commit is contained in:
parent
c91404191e
commit
f5a443f27a
|
@ -22,6 +22,7 @@
|
|||
#include <string.h>
|
||||
#include <glib.h>
|
||||
#include <sigrok.h>
|
||||
#include <sigrok-internal.h>
|
||||
|
||||
static gpointer new_chunk(struct sr_datastore **ds);
|
||||
|
||||
|
|
|
@ -25,11 +25,11 @@
|
|||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <sigrok.h>
|
||||
#include <sigrok-internal.h>
|
||||
|
||||
extern struct sr_session *session;
|
||||
extern struct sr_device_plugin session_driver;
|
||||
|
||||
|
||||
int sr_session_load(const char *filename)
|
||||
{
|
||||
GKeyFile *kf;
|
||||
|
@ -242,4 +242,3 @@ int sr_session_save(const char *filename)
|
|||
|
||||
return SR_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
#define ARRAY_AND_SIZE(a) (a), ARRAY_SIZE(a)
|
||||
#endif
|
||||
|
||||
/* Size of a datastore chunk in units */
|
||||
#define DATASTORE_CHUNKSIZE 512000
|
||||
|
||||
/*--- hwplugin.c ------------------------------------------------------------*/
|
||||
|
||||
int load_hwplugins(void);
|
||||
|
|
Loading…
Reference in New Issue