Changeset: c36a76cae346 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c36a76cae346
Modified Files:
clients/Tests/exports.stable.out
gdk/gdk_bbp.c
gdk/gdk_bbp.h
gdk/gdk_private.h
Branch: default
Log Message:
Unexport functions getBBPlogno and getBBPtransid.
diffs (51 lines):
diff --git a/clients/Tests/exports.stable.out b/clients/Tests/exports.stable.out
--- a/clients/Tests/exports.stable.out
+++ b/clients/Tests/exports.stable.out
@@ -522,9 +522,7 @@ ssize_t fltToStr(str *dst, size_t *len,
const flt flt_nil;
gdk_return gdk_add_callback(char *name, gdk_callback_func *f, int argc, void
*argv[], int interval);
gdk_return gdk_remove_callback(char *, gdk_callback_func *f);
-lng getBBPlogno(void);
bat getBBPsize(void);
-lng getBBPtransid(void);
char *get_bin_path(void);
int gettimeofday(struct timeval *tv, int *ignore_zone);
struct tm *gmtime_r(const time_t *restrict, struct tm *restrict);
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -130,7 +130,7 @@ static gdk_return BBPdir_init(void);
static void BBPcallbacks(void);
/* two lngs of extra info in BBP.dir */
-/* these two need to be atomic because of their use in AUTHcommit() */
+/* these two are atomic because of their use in log_new() */
static ATOMIC_TYPE BBPlogno = ATOMIC_VAR_INIT(0);
static ATOMIC_TYPE BBPtransid = ATOMIC_VAR_INIT(0);
diff --git a/gdk/gdk_bbp.h b/gdk/gdk_bbp.h
--- a/gdk/gdk_bbp.h
+++ b/gdk/gdk_bbp.h
@@ -59,8 +59,6 @@
#define BBPTRIM_ALL (((size_t)1) << (sizeof(size_t)*8 - 2)) /* very large
positive size_t */
gdk_export bat getBBPsize(void); /* current occupied size of BBP array */
-gdk_export lng getBBPlogno(void); /* two lng of extra info in BBP.dir */
-gdk_export lng getBBPtransid(void);
gdk_export unsigned BBPheader(FILE *fp, int *lineno, bat *bbpsize, lng *logno,
lng *transid);
gdk_export int BBPreadBBPline(FILE *fp, unsigned bbpversion, int *lineno, BAT
*bn,
#ifdef GDKLIBRARY_HASHASH
diff --git a/gdk/gdk_private.h b/gdk/gdk_private.h
--- a/gdk/gdk_private.h
+++ b/gdk/gdk_private.h
@@ -184,6 +184,10 @@ gdk_return GDKunlink(int farmid, const c
#define GDKwarning(format, ...) \
GDKtracer_log(__FILE__, __func__, __LINE__, M_WARNING, \
GDK, NULL, format, ##__VA_ARGS__)
+lng getBBPlogno(void)
+ __attribute__((__visibility__("hidden")));
+lng getBBPtransid(void)
+ __attribute__((__visibility__("hidden")));
BUN HASHappend(BAT *b, BUN i, const void *v)
__attribute__((__visibility__("hidden")));
void HASHappend_locked(BAT *b, BUN i, const void *v)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]