]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
libfrog: move convert.h to libfrog/
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 9 Sep 2019 19:37:06 +0000 (15:37 -0400)
committerEric Sandeen <sandeen@redhat.com>
Mon, 9 Sep 2019 19:37:06 +0000 (15:37 -0400)
Move this header to libfrog since the code is there already.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/input.h
libfrog/Makefile
libfrog/convert.h [moved from include/convert.h with 87% similarity]

index 6d8dbcc420da8fe3eff8a779f5a9fbd99c759e34..57fdd343960297e872279ce41266a033fca05986 100644 (file)
@@ -10,7 +10,7 @@
 #include <grp.h>
 #include <sys/types.h>
 #include "project.h"
-#include "convert.h"
+#include "libfrog/convert.h"
 #include <stdbool.h>
 
 extern char    **breakline(char *input, int *count);
index 2b199b4539f034e02d968a65b45653a6369e46e7..5ba32a221f67a8ba9365c7af28d62f933e8a5b22 100644 (file)
@@ -31,6 +31,7 @@ HFILES = \
 avl64.h \
 bulkstat.h \
 bitmap.h \
+convert.h \
 crc32defs.h \
 crc32table.h \
 topology.h
similarity index 87%
rename from include/convert.h
rename to libfrog/convert.h
index 0489a1db1c921ab6621d20d21a24b29f15b1d829..321540aa630c4be5cfaeb90e928fa3481d1f3e06 100644 (file)
@@ -3,8 +3,8 @@
  * Copyright (c) 2000-2005 Silicon Graphics, Inc.
  * All Rights Reserved.
  */
-#ifndef __CONVERT_H__
-#define __CONVERT_H__
+#ifndef __LIBFROG_CONVERT_H__
+#define __LIBFROG_CONVERT_H__
 
 extern int64_t cvt_s64(char *s, int base);
 extern int32_t cvt_s32(char *s, int base);
@@ -22,4 +22,4 @@ extern uid_t  uid_from_string(char *user);
 extern gid_t   gid_from_string(char *group);
 extern prid_t  prid_from_string(char *project);
 
-#endif /* __CONVERT_H__ */
+#endif /* __LIBFROG_CONVERT_H__ */