[hackers] [sbase] tar: Staticise symbols || sin

From: <git_AT_suckless.org>
Date: Thu, 23 Apr 2015 13:38:57 +0200 (CEST)

commit 3419f94d8310a916a90e26c14a6aedcd0faca4e3
Author: sin <sin_AT_2f30.org>
Date: Thu Apr 23 12:38:32 2015 +0100

    tar: Staticise symbols

diff --git a/tar.c b/tar.c
index 6277cc4..6a6595a 100644
--- a/tar.c
+++ b/tar.c
_AT_@ -55,7 +55,7 @@ static dev_t tardev;
 static int mflag;
 static char filtermode = '\0';
 
-struct ent {
+static struct ent {
         char *name;
         time_t mtime;
 } *ents;
_AT_@ -70,7 +70,7 @@ pushent(char *name, time_t mtime)
         entlen++;
 }
 
-struct ent *
+static struct ent *
 popent(void)
 {
         if (entlen) {
Received on Thu Apr 23 2015 - 13:38:57 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 23 2015 - 13:48:17 CEST