summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-10-26 12:48:48 +0000
committerjoerg <joerg@pkgsrc.org>2008-10-26 12:48:48 +0000
commiteac752d0143b36c8fe0d6adbee4eb92e46d455e3 (patch)
tree548d76af1c8172764af1294683891c78b98da659 /archivers
parent690ac5928f06e639491d5bccbf405af108434e5e (diff)
downloadpkgsrc-eac752d0143b36c8fe0d6adbee4eb92e46d455e3.tar.gz
Don't depend on presence of u_int32_t, just use uint32_t.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/pax/files/extern.h4
-rw-r--r--archivers/pax/files/file_subs.c6
-rw-r--r--archivers/pax/files/mtree_extern.h6
3 files changed, 8 insertions, 8 deletions
diff --git a/archivers/pax/files/extern.h b/archivers/pax/files/extern.h
index 68ccf228ecc..1bae0eb4629 100644
--- a/archivers/pax/files/extern.h
+++ b/archivers/pax/files/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.7 2008/02/07 22:27:53 joerg Exp $ */
+/* $NetBSD: extern.h,v 1.8 2008/10/26 12:48:48 joerg Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -168,7 +168,7 @@ int chk_path(char *, uid_t, gid_t);
void set_ftime(char *fnm, time_t mtime, time_t atime, int frc, int slk);
int set_ids(char *, uid_t, gid_t);
void set_pmode(char *, mode_t);
-void set_chflags(char *fnm, u_int32_t flags);
+void set_chflags(char *fnm, uint32_t flags);
int file_write(int, char *, int, int *, int *, int, char *);
void file_flush(int, char *, int);
void rdfile_close(ARCHD *, int *);
diff --git a/archivers/pax/files/file_subs.c b/archivers/pax/files/file_subs.c
index dd254d91a75..3f85358f6b1 100644
--- a/archivers/pax/files/file_subs.c
+++ b/archivers/pax/files/file_subs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: file_subs.c,v 1.13 2008/02/07 22:27:53 joerg Exp $ */
+/* $NetBSD: file_subs.c,v 1.14 2008/10/26 12:48:48 joerg Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -48,7 +48,7 @@
#if 0
static char sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: file_subs.c,v 1.13 2008/02/07 22:27:53 joerg Exp $");
+__RCSID("$NetBSD: file_subs.c,v 1.14 2008/10/26 12:48:48 joerg Exp $");
#endif
#endif /* not lint */
@@ -895,7 +895,7 @@ set_pmode(char *fnm, mode_t mode)
* Set 4.4BSD file flags
*/
void
-set_chflags(char *fnm, u_int32_t flags)
+set_chflags(char *fnm, uint32_t flags)
{
#if 0
diff --git a/archivers/pax/files/mtree_extern.h b/archivers/pax/files/mtree_extern.h
index 3c64cf7a40c..eb1a272f3c7 100644
--- a/archivers/pax/files/mtree_extern.h
+++ b/archivers/pax/files/mtree_extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mtree_extern.h,v 1.2 2004/08/21 03:28:56 jlam Exp $ */
+/* $NetBSD: mtree_extern.h,v 1.3 2008/10/26 12:48:48 joerg Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -62,7 +62,7 @@
void addtag(slist_t *, char *);
int check_excludes(const char *, const char *);
int compare(NODE *, FTSENT *);
-int crc(int, u_int32_t *, u_int32_t *);
+int crc(int, uint32_t *, uint32_t *);
void cwalk(void);
void dump_nodes(const char *, NODE *, int);
void init_excludes(void);
@@ -80,7 +80,7 @@ int verify(void);
extern int dflag, eflag, iflag, lflag, mflag, rflag, sflag, tflag, uflag;
extern int mtree_Mflag, mtree_Wflag;
extern size_t mtree_lineno;
-extern u_int32_t crc_total;
+extern uint32_t crc_total;
extern int ftsoptions, keys;
extern char fullpath[];
extern slist_t includetags, excludetags;