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:
Juan RP 2009-10-22 14:49:21 +02:00
parent 534f7f0306
commit b2197be315
4 changed files with 4 additions and 3 deletions

View File

@ -30,6 +30,7 @@
#include <string.h>
#include <xbps_api.h>
#include "sha256.h"
static void
usage(void)

View File

@ -36,8 +36,6 @@
#include <archive.h>
#include <archive_entry.h>
#include "sha256.h"
/* Current release version */
#define XBPS_RELVER "0.2.99.1"

View File

@ -48,7 +48,8 @@
#include <inttypes.h>
#include <libgen.h>
#include "xbps_api.h"
#include <xbps_api.h>
#include "sha256.h"
/*** SHA-256 Various Length Definitions ***********************/
/* NOTE: Most of these are in sha2.h */

View File

@ -34,6 +34,7 @@
#include <sys/utsname.h>
#include <xbps_api.h>
#include "sha256.h"
static bool question(bool, const char *, va_list);