~ubuntu-branches/ubuntu/saucy/procps/saucy-updates

« back to all changes in this revision

Viewing changes to debian/patches/proc_version_constructor.patch

  • Committer: Steve Langasek
  • Date: 2011-10-27 07:46:06 UTC
  • mfrom: (2.1.14 sid)
  • Revision ID: vorlon@debian.org-20111027074606-wn1i46boq2ti8p1z
Merge Debian version 1:3.2.8-11

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
-static void init_Linux_version(void) __attribute__((constructor));
23
23
-static void init_Linux_version(void) {
24
24
+void init_Linux_version(void) {
25
 
     int x = 0, y = 0, z = 0;   /* cleared in case sscanf() < 3 */
 
25
     int x = 0, y = 0, z = 0;   /* cleared in case sscanf() < 2 */
26
26
     FILE *fp;
27
27
     char buf[256];
28
28
--- a/proc/version.h