Do not use private sha256.h header file in the public exported
API header file (xbps_api.h). --HG-- extra : convert_revision : xtraeme%40gmail.com-20091022124921-nvy2x07ibxjqtt50
This commit is contained in:
parent
534f7f0306
commit
b2197be315
@ -30,6 +30,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <xbps_api.h>
|
#include <xbps_api.h>
|
||||||
|
#include "sha256.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
usage(void)
|
usage(void)
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
#include <archive.h>
|
#include <archive.h>
|
||||||
#include <archive_entry.h>
|
#include <archive_entry.h>
|
||||||
|
|
||||||
#include "sha256.h"
|
|
||||||
|
|
||||||
/* Current release version */
|
/* Current release version */
|
||||||
#define XBPS_RELVER "0.2.99.1"
|
#define XBPS_RELVER "0.2.99.1"
|
||||||
|
|
||||||
|
@ -48,7 +48,8 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <libgen.h>
|
#include <libgen.h>
|
||||||
|
|
||||||
#include "xbps_api.h"
|
#include <xbps_api.h>
|
||||||
|
#include "sha256.h"
|
||||||
|
|
||||||
/*** SHA-256 Various Length Definitions ***********************/
|
/*** SHA-256 Various Length Definitions ***********************/
|
||||||
/* NOTE: Most of these are in sha2.h */
|
/* NOTE: Most of these are in sha2.h */
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
|
|
||||||
#include <xbps_api.h>
|
#include <xbps_api.h>
|
||||||
|
#include "sha256.h"
|
||||||
|
|
||||||
static bool question(bool, const char *, va_list);
|
static bool question(bool, const char *, va_list);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user