summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/names.c4
-rw-r--r--build/rpmbuild.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/build/names.c b/build/names.c
index d37591ac2..5ddcad97f 100644
--- a/build/names.c
+++ b/build/names.c
@@ -205,7 +205,7 @@ gid_t getGidS(const char *gname)
}
/*@=boundswrite@*/
-int_32 *const getBuildTime(void)
+int_32 * getBuildTime(void)
{
static int_32 buildTime[1];
@@ -217,7 +217,7 @@ int_32 *const getBuildTime(void)
}
/*@-boundswrite@*/
-const char *const buildHost(void)
+const char * buildHost(void)
{
static char hostname[1024];
static int oneshot = 0;
diff --git a/build/rpmbuild.h b/build/rpmbuild.h
index 5652ded2b..a33d44265 100644
--- a/build/rpmbuild.h
+++ b/build/rpmbuild.h
@@ -154,13 +154,13 @@ gid_t getGidS(const char * gname)
* Return build hostname.
* @return build hostname
*/
-extern /*@observer@*/ const char * const buildHost(void) /*@*/;
+extern /*@observer@*/ const char * buildHost(void) /*@*/;
/** \ingroup rpmbuild
* Return build time stamp.
* @return build time stamp
*/
-extern /*@observer@*/ int_32 * const getBuildTime(void) /*@*/;
+extern /*@observer@*/ int_32 * getBuildTime(void) /*@*/;
/** \ingroup rpmbuild
* Read next line from spec file.