diff options
author | Jeff Layton <jlayton@samba.org> | 2017-02-23 19:14:07 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2017-02-24 07:12:14 -0500 |
commit | 891d7806ac153e7d99b324ed9a33ff92699a92c6 (patch) | |
tree | be26e62847992e09d6de79b5611d68129bd463c5 | |
parent | 4850d321c3ec8f1b31b162fe8a316a7638c12b94 (diff) | |
download | cifs-utils-891d7806ac153e7d99b324ed9a33ff92699a92c6.tar.gz cifs-utils-891d7806ac153e7d99b324ed9a33ff92699a92c6.tar.bz2 cifs-utils-891d7806ac153e7d99b324ed9a33ff92699a92c6.zip |
data_blob: Eliminate _PUBLIC_
It's defined to nothing anyway.
Signed-off-by: Jeff Layton <jlayton@samba.org>
-rw-r--r-- | data_blob.c | 6 | ||||
-rw-r--r-- | data_blob.h | 10 |
2 files changed, 6 insertions, 10 deletions
diff --git a/data_blob.c b/data_blob.c index a884f13..07e54e2 100644 --- a/data_blob.c +++ b/data_blob.c @@ -37,7 +37,7 @@ const DATA_BLOB data_blob_null = { NULL, 0 }; construct a data blob, must be freed with data_blob_free() you can pass NULL for p and get a blank data blob **/ -_PUBLIC_ DATA_BLOB data_blob_named(const void *p, size_t length, const char *name) +DATA_BLOB data_blob_named(const void *p, size_t length, const char *name) { DATA_BLOB ret; @@ -63,7 +63,7 @@ _PUBLIC_ DATA_BLOB data_blob_named(const void *p, size_t length, const char *nam /** construct a data blob, using supplied TALLOC_CTX **/ -_PUBLIC_ DATA_BLOB data_blob_talloc_named(TALLOC_CTX *mem_ctx, const void *p, size_t length, const char *name) +DATA_BLOB data_blob_talloc_named(TALLOC_CTX *mem_ctx, const void *p, size_t length, const char *name) { DATA_BLOB ret = data_blob_named(p, length, name); @@ -76,7 +76,7 @@ _PUBLIC_ DATA_BLOB data_blob_talloc_named(TALLOC_CTX *mem_ctx, const void *p, si /** free a data blob **/ -_PUBLIC_ void data_blob_free(DATA_BLOB *d) +void data_blob_free(DATA_BLOB *d) { if (d) { talloc_free(d->data); diff --git a/data_blob.h b/data_blob.h index ccdf30d..3d96147 100644 --- a/data_blob.h +++ b/data_blob.h @@ -23,10 +23,6 @@ #ifndef _SAMBA_DATABLOB_H_ #define _SAMBA_DATABLOB_H_ -#ifndef _PUBLIC_ -#define _PUBLIC_ -#endif - #include <talloc.h> #include <stdint.h> @@ -53,17 +49,17 @@ struct data_blob_list_item { construct a data blob, must be freed with data_blob_free() you can pass NULL for p and get a blank data blob **/ -_PUBLIC_ DATA_BLOB data_blob_named(const void *p, size_t length, const char *name); +DATA_BLOB data_blob_named(const void *p, size_t length, const char *name); /** construct a data blob, using supplied TALLOC_CTX **/ -_PUBLIC_ DATA_BLOB data_blob_talloc_named(TALLOC_CTX *mem_ctx, const void *p, size_t length, const char *name); +DATA_BLOB data_blob_talloc_named(TALLOC_CTX *mem_ctx, const void *p, size_t length, const char *name); /** free a data blob **/ -_PUBLIC_ void data_blob_free(DATA_BLOB *d); +void data_blob_free(DATA_BLOB *d); extern const DATA_BLOB data_blob_null; |