You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

131 lines
3.4 KiB

  1. From: Robert Luberda <robert@debian.org>
  2. Date: Wed, 9 Sep 2015 21:37:37 +0200
  3. Subject: Remove scscid()
  4. Remove sccsid() function togethwe with SCCSID string that
  5. contained __DATE__ and __TIME__ macros. This should cause
  6. binary to be more reproducible, see
  7. https://wiki.debian.org/ReproducibleBuilds/TimestampsFromCPPMacros
  8. ---
  9. cifsiostat.c | 3 ---
  10. iostat.c | 3 ---
  11. mpstat.c | 3 ---
  12. pidstat.c | 3 ---
  13. sadc.c | 3 ---
  14. sadf.c | 3 ---
  15. sar.c | 3 ---
  16. tapestat.c | 3 ---
  17. 8 files changed, 24 deletions(-)
  18. diff --git a/cifsiostat.c b/cifsiostat.c
  19. index a3c81d0..4668a7c 100644
  20. --- a/cifsiostat.c
  21. +++ b/cifsiostat.c
  22. @@ -41,9 +41,6 @@
  23. #define _(string) (string)
  24. #endif
  25. -#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
  26. -char *sccsid(void) { return (SCCSID); }
  27. -
  28. unsigned long long uptime0[2] = {0, 0};
  29. struct cifs_stats *st_cifs[2];
  30. struct io_hdr_stats *st_hdr_cifs;
  31. diff --git a/iostat.c b/iostat.c
  32. index 7b346e2..a0199d2 100644
  33. --- a/iostat.c
  34. +++ b/iostat.c
  35. @@ -48,9 +48,6 @@
  36. #define _(string) (string)
  37. #endif
  38. -#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
  39. -char *sccsid(void) { return (SCCSID); }
  40. -
  41. struct stats_cpu *st_cpu[2];
  42. unsigned long long uptime[2] = {0, 0};
  43. unsigned long long uptime0[2] = {0, 0};
  44. diff --git a/mpstat.c b/mpstat.c
  45. index 1c83ea2..e4a040b 100644
  46. --- a/mpstat.c
  47. +++ b/mpstat.c
  48. @@ -43,9 +43,6 @@
  49. #define _(string) (string)
  50. #endif
  51. -#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
  52. -char *sccsid(void) { return (SCCSID); }
  53. -
  54. unsigned long long uptime[3] = {0, 0, 0};
  55. unsigned long long uptime0[3] = {0, 0, 0};
  56. diff --git a/pidstat.c b/pidstat.c
  57. index 876635c..5372176 100644
  58. --- a/pidstat.c
  59. +++ b/pidstat.c
  60. @@ -47,9 +47,6 @@
  61. #define _(string) (string)
  62. #endif
  63. -#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
  64. -char *sccsid(void) { return (SCCSID); }
  65. -
  66. unsigned long long uptime[3] = {0, 0, 0};
  67. unsigned long long uptime0[3] = {0, 0, 0};
  68. struct pid_stats *st_pid_list[3] = {NULL, NULL, NULL};
  69. diff --git a/sadc.c b/sadc.c
  70. index 7cdbc38..bfb4dac 100644
  71. --- a/sadc.c
  72. +++ b/sadc.c
  73. @@ -52,9 +52,6 @@
  74. #include "sensors/error.h"
  75. #endif
  76. -#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
  77. -char *sccsid(void) { return (SCCSID); }
  78. -
  79. long interval = 0;
  80. unsigned int flags = 0;
  81. diff --git a/sadf.c b/sadf.c
  82. index 160b485..0c0017c 100644
  83. --- a/sadf.c
  84. +++ b/sadf.c
  85. @@ -41,9 +41,6 @@
  86. # define _(string) (string)
  87. #endif
  88. -#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
  89. -char *sccsid(void) { return (SCCSID); }
  90. -
  91. long interval = -1, count = 0;
  92. unsigned int flags = 0;
  93. diff --git a/sar.c b/sar.c
  94. index ccf426e..07a9b4a 100644
  95. --- a/sar.c
  96. +++ b/sar.c
  97. @@ -42,9 +42,6 @@
  98. #define _(string) (string)
  99. #endif
  100. -#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
  101. -char *sccsid(void) { return (SCCSID); }
  102. -
  103. /* Interval and count parameters */
  104. long interval = -1, count = 0;
  105. diff --git a/tapestat.c b/tapestat.c
  106. index 268e4a5..df0a01b 100644
  107. --- a/tapestat.c
  108. +++ b/tapestat.c
  109. @@ -58,9 +58,6 @@
  110. #define _(string) (string)
  111. #endif
  112. -#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
  113. -char *sccsid(void) { return (SCCSID); }
  114. -
  115. int cpu_nr = 0; /* Nb of processors on the machine */
  116. int flags = 0; /* Flag for common options and system state */