- Unconditionally build int64_to_flipbase64 and flipbase64_to_int64.
These are only used by namei, but are referenced by the
liboafs_util export list
- Include rx_queue.h in listinodes.c, so the queue elements in
various structures are defined.
- Rename vfsck's getline, so we don't conflict with stdio's getline
- Fix the includes in vfsck/dirutils.c so we get a definition for
VolumeId
- salvageserver needs libsys for various ihandle operations
Change-Id: Ibed3439c1eca499e2ada785e1e8186f4480117a4
Reviewed-on: http://gerrit.openafs.org/9966
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
SSSDEBUG_OBJS = salvsync-debug.o physio.o common.o ${VLIBOBJS} ${DIROBJS}
LIBS= \
+ $(top_builddir)/src/sys/liboafs_sys.la \
$(top_builddir)/src/rx/liboafs_rx.la \
$(top_builddir)/src/util/liboafs_util.la \
$(top_builddir)/src/cmd/liboafs_cmd.la \
/* flipbase64.c */
extern char *int_to_base32(b32_string_t s, int a);
extern int base32_to_int(char *s);
-#if defined(AFS_NAMEI_ENV) && !defined(AFS_NT40_ENV)
+#if !defined(AFS_NT40_ENV)
/* base 64 converters for namei interface. Flip bits to differences are
* early in name.
*/
#include <roken.h>
-#if defined(AFS_NAMEI_ENV)
#include "afsutil.h"
/* This version of base64 gets it right and starts converting from the low
}
return result;
}
-
-
-#endif /* AFS_NAMEI_ENV */
#include <roken.h>
+#include <afs/afsint.h>
#include <afs/ihandle.h>
#include <afs/partition.h>
return (1);
}
-getline(fp, loc, maxlen)
+vfsck_getline(fp, loc, maxlen)
FILE *fp;
char *loc;
{
if (!isatty(0))
errexit("exiting\n");
printf("\n%s? ", s);
- if (getline(stdin, line, sizeof(line)) == EOF)
+ if (vfsck_getline(stdin, line, sizeof(line)) == EOF)
errexit("\n");
if (line[0] == 'y' || line[0] == 'Y')
return (1);
#include <sys/ino.h>
#endif
+#include <rx/rx_queue.h>
+
#include "lock.h"
#include "ihandle.h"
#include "vnode.h"