From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sun, 26 Feb 2006 08:45:03 +0000 (+0000)
Subject: * modules/intprops: New file.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=266a433bc1d2cac494500e688df39515f48b44dc;p=pspp

* modules/intprops: New file.
* MODULES.html.sh (Numeric conversion functions <stdlib.h>):
Add intprops.
* modules/getloadavg (Files): Remove lib/intprops.h.
(Depends-on): Add intprops.
* modules/human: Likewise.
* modules/inttostr: Likewise.
* modules/openat: Likewise.
* modules/sig2str: Likewise.
* modules/userspec: Likewise.
* modules/utimecmp: Likewise.
* modules/xnanosleep: Likewise.
* modules/xstrtol: Likewise.
---

diff --git a/ChangeLog b/ChangeLog
index babbf62f06..171f2fd8b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2006-02-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* modules/intprops: New file.
+	* MODULES.html.sh (Numeric conversion functions <stdlib.h>):
+	Add intprops.
+	* modules/getloadavg (Files): Remove lib/intprops.h.
+	(Depends-on): Add intprops.
+	* modules/human: Likewise.
+	* modules/inttostr: Likewise.
+	* modules/openat: Likewise.
+	* modules/sig2str: Likewise.
+	* modules/userspec: Likewise.
+	* modules/utimecmp: Likewise.
+	* modules/xnanosleep: Likewise.
+	* modules/xstrtol: Likewise.
+
 2006-02-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny changes)
 
 	* modules/xstrtod: Omit xstrtod.h, xstrtod.c; they're in LIB_SOURCES.
diff --git a/MODULES.html.sh b/MODULES.html.sh
index de85873ebe..0957ebf173 100755
--- a/MODULES.html.sh
+++ b/MODULES.html.sh
@@ -1748,6 +1748,7 @@ func_all_modules ()
   func_echo "$element"
 
   func_begin_table
+  func_module intprops
   func_module inttostr
   func_module xstrtoimax
   func_module xstrtoumax
diff --git a/modules/getloadavg b/modules/getloadavg
index f526a547d8..75e3bfd08d 100644
--- a/modules/getloadavg
+++ b/modules/getloadavg
@@ -3,12 +3,12 @@ Return the current system load averages.
 
 Files:
 lib/getloadavg.c
-lib/intprops.h
 
 Depends-on:
 cloexec
 xalloc
 c-strtod
+intprops
 stdbool
 fcntl-safer
 
diff --git a/modules/human b/modules/human
index dd3250a9ed..838caececb 100644
--- a/modules/human
+++ b/modules/human
@@ -5,7 +5,6 @@ with K/M/G suffix.
 Files:
 lib/human.h
 lib/human.c
-lib/intprops.h
 m4/ulonglong.m4
 m4/stdint_h.m4
 m4/inttypes_h.m4
@@ -16,6 +15,7 @@ Depends-on:
 gettext-h
 argmatch
 error
+intprops
 xstrtoumax
 stdbool
 
diff --git a/modules/intprops b/modules/intprops
new file mode 100644
index 0000000000..2f09c85eb9
--- /dev/null
+++ b/modules/intprops
@@ -0,0 +1,21 @@
+Description:
+Properties of integer types
+
+Files:
+lib/intprops.h
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+EXTRA_DIST += intprops.h
+
+Include:
+"intprops.h"
+
+License:
+GPL
+
+Maintainer:
+Paul Eggert
diff --git a/modules/inttostr b/modules/inttostr
index a20647d6d1..ed57e43c69 100644
--- a/modules/inttostr
+++ b/modules/inttostr
@@ -3,7 +3,6 @@ Convert integers to printable strings.
 
 Files:
 lib/imaxtostr.c
-lib/intprops.h
 lib/inttostr.c
 lib/inttostr.h
 lib/offtostr.c
@@ -17,6 +16,7 @@ m4/uintmax_t.m4
 m4/ulonglong.m4
 
 Depends-on:
+intprops
 
 configure.ac:
 gl_INTTOSTR
diff --git a/modules/openat b/modules/openat
index 792eac641d..7612643232 100644
--- a/modules/openat
+++ b/modules/openat
@@ -2,7 +2,6 @@ Description:
 Open a file at a directory.
 
 Files:
-lib/intprops.h
 lib/mkdirat.c
 lib/openat.c
 lib/openat.h
@@ -15,6 +14,7 @@ save-cwd
 gettext-h
 dirname
 extensions
+intprops
 
 configure.ac:
 gl_FUNC_OPENAT
diff --git a/modules/sig2str b/modules/sig2str
index 66747da3b3..89d00cc63e 100644
--- a/modules/sig2str
+++ b/modules/sig2str
@@ -2,12 +2,12 @@ Description:
 Convert between signal names and signal numbers.
 
 Files:
-lib/intprops.h
 lib/sig2str.h
 lib/sig2str.c
 m4/sig2str.m4
 
 Depends-on:
+intprops
 
 configure.ac:
 gl_FUNC_SIG2STR
diff --git a/modules/userspec b/modules/userspec
index 041f341b70..71fbe33b9b 100644
--- a/modules/userspec
+++ b/modules/userspec
@@ -3,7 +3,6 @@ Parse a `user:group' specifier (e.g. the first argument of chown utility).
 
 Files:
 lib/inttostr.h
-lib/intprops.h
 lib/userspec.c
 lib/userspec.h
 m4/userspec.m4
@@ -14,6 +13,7 @@ xalloc
 xstrtol
 strdup
 gettext-h
+intprops
 stdbool
 
 configure.ac:
diff --git a/modules/utimecmp b/modules/utimecmp
index 6cd77faf9f..af72a78bc5 100644
--- a/modules/utimecmp
+++ b/modules/utimecmp
@@ -2,7 +2,6 @@ Description:
 compare file time stamps
 
 Files:
-lib/intprops.h
 lib/utimecmp.h
 lib/utimecmp.c
 m4/utimecmp.m4
@@ -13,6 +12,7 @@ stat-time
 timespec
 utimens
 xalloc
+intprops
 stdbool
 verify
 
diff --git a/modules/xnanosleep b/modules/xnanosleep
index 3b30c4806e..5acf1d3894 100644
--- a/modules/xnanosleep
+++ b/modules/xnanosleep
@@ -2,13 +2,13 @@ Description:
 a more convenient interface to nanosleep
 
 Files:
-lib/intprops.h
 lib/xnanosleep.h
 lib/xnanosleep.c
 m4/xnanosleep.m4
 
 Depends-on:
 timespec
+intprops
 stdbool
 
 configure.ac:
diff --git a/modules/xstrtol b/modules/xstrtol
index 63f032965a..f1faa0998d 100644
--- a/modules/xstrtol
+++ b/modules/xstrtol
@@ -2,7 +2,6 @@ Description:
 Convert string to 'long' or 'unsigned long', with error checking.
 
 Files:
-lib/intprops.h
 lib/xstrtol.h
 lib/xstrtol.c
 lib/xstrtoul.c
@@ -17,6 +16,7 @@ m4/xstrtol.m4
 Depends-on:
 exitfail
 error
+intprops
 
 configure.ac:
 gl_XSTRTOL