diff mbox series

[1/2] Move version.h into a common include directory

Message ID 20210922153610.60548-1-steved@redhat.com (mailing list archive)
State New, archived
Headers show
Series [1/2] Move version.h into a common include directory | expand

Commit Message

Steve Dickson Sept. 22, 2021, 3:36 p.m. UTC
Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/include/version.h | 1 +
 utils/gssd/svcgssd_krb5.c | 2 +-
 utils/nfsd/nfssvc.c       | 2 +-
 utils/nfsdcld/nfsdcld.c   | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)
 create mode 120000 support/include/version.h

Comments

Steve Dickson Sept. 23, 2021, 4:36 p.m. UTC | #1
On 9/22/21 11:36 AM, Steve Dickson wrote:
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed... (tag: nfs-utils-2-5-5-rc3)

steved.
> ---
>   support/include/version.h | 1 +
>   utils/gssd/svcgssd_krb5.c | 2 +-
>   utils/nfsd/nfssvc.c       | 2 +-
>   utils/nfsdcld/nfsdcld.c   | 2 +-
>   4 files changed, 4 insertions(+), 3 deletions(-)
>   create mode 120000 support/include/version.h
> 
> diff --git a/support/include/version.h b/support/include/version.h
> new file mode 120000
> index 00000000..b7db0bbb
> --- /dev/null
> +++ b/support/include/version.h
> @@ -0,0 +1 @@
> +../../utils/mount/version.h
> \ No newline at end of file
> diff --git a/utils/gssd/svcgssd_krb5.c b/utils/gssd/svcgssd_krb5.c
> index 305d4751..2503c384 100644
> --- a/utils/gssd/svcgssd_krb5.c
> +++ b/utils/gssd/svcgssd_krb5.c
> @@ -46,7 +46,7 @@
>   #include "gss_oids.h"
>   #include "err_util.h"
>   #include "svcgssd_krb5.h"
> -#include "../mount/version.h"
> +#include "version.h"
>   
>   #define MYBUFLEN 1024
>   
> diff --git a/utils/nfsd/nfssvc.c b/utils/nfsd/nfssvc.c
> index 720bdd97..46452d97 100644
> --- a/utils/nfsd/nfssvc.c
> +++ b/utils/nfsd/nfssvc.c
> @@ -25,7 +25,7 @@
>   #include "nfslib.h"
>   #include "xlog.h"
>   #include "nfssvc.h"
> -#include "../mount/version.h"
> +#include "version.h"
>   
>   #ifndef NFSD_FS_DIR
>   #define NFSD_FS_DIR	  "/proc/fs/nfsd"
> diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c
> index 636c3983..dbc7a57f 100644
> --- a/utils/nfsdcld/nfsdcld.c
> +++ b/utils/nfsdcld/nfsdcld.c
> @@ -45,7 +45,7 @@
>   #include "cld.h"
>   #include "cld-internal.h"
>   #include "sqlite.h"
> -#include "../mount/version.h"
> +#include "version.h"
>   #include "conffile.h"
>   #include "legacy.h"
>   
>
diff mbox series

Patch

diff --git a/support/include/version.h b/support/include/version.h
new file mode 120000
index 00000000..b7db0bbb
--- /dev/null
+++ b/support/include/version.h
@@ -0,0 +1 @@ 
+../../utils/mount/version.h
\ No newline at end of file
diff --git a/utils/gssd/svcgssd_krb5.c b/utils/gssd/svcgssd_krb5.c
index 305d4751..2503c384 100644
--- a/utils/gssd/svcgssd_krb5.c
+++ b/utils/gssd/svcgssd_krb5.c
@@ -46,7 +46,7 @@ 
 #include "gss_oids.h"
 #include "err_util.h"
 #include "svcgssd_krb5.h"
-#include "../mount/version.h"
+#include "version.h"
 
 #define MYBUFLEN 1024
 
diff --git a/utils/nfsd/nfssvc.c b/utils/nfsd/nfssvc.c
index 720bdd97..46452d97 100644
--- a/utils/nfsd/nfssvc.c
+++ b/utils/nfsd/nfssvc.c
@@ -25,7 +25,7 @@ 
 #include "nfslib.h"
 #include "xlog.h"
 #include "nfssvc.h"
-#include "../mount/version.h"
+#include "version.h"
 
 #ifndef NFSD_FS_DIR
 #define NFSD_FS_DIR	  "/proc/fs/nfsd"
diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c
index 636c3983..dbc7a57f 100644
--- a/utils/nfsdcld/nfsdcld.c
+++ b/utils/nfsdcld/nfsdcld.c
@@ -45,7 +45,7 @@ 
 #include "cld.h"
 #include "cld-internal.h"
 #include "sqlite.h"
-#include "../mount/version.h"
+#include "version.h"
 #include "conffile.h"
 #include "legacy.h"