Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162564638
D31609.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31609.id.diff
View Options
diff --git a/usr.sbin/crunch/crunchide/crunchide.c b/usr.sbin/crunch/crunchide/crunchide.c
--- a/usr.sbin/crunch/crunchide/crunchide.c
+++ b/usr.sbin/crunch/crunchide/crunchide.c
@@ -78,12 +78,12 @@
static const char *pname = "crunchide";
-void usage(void);
+static void usage(void);
-void add_to_keep_list(char *symbol);
-void add_file_to_keep_list(char *filename);
+static void add_to_keep_list(char *symbol);
+static void add_file_to_keep_list(char *filename);
-int hide_syms(const char *filename);
+static int hide_syms(const char *filename);
static int verbose;
@@ -126,7 +126,7 @@
return errors;
}
-void
+static void
usage(void)
{
fprintf(stderr,
@@ -142,7 +142,7 @@
char *sym;
} *keep_list;
-void
+static void
add_to_keep_list(char *symbol)
{
struct keep *newp, *prevp, *curp;
@@ -182,7 +182,7 @@
return curp && cmp == 0;
}
-void
+static void
add_file_to_keep_list(char *filename)
{
FILE *keepf;
@@ -219,7 +219,7 @@
#endif
};
-int
+static int
hide_syms(const char *filename)
{
int fd, i, n, rv;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 15, 2:46 PM (2 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35103249
Default Alt Text
D31609.id.diff (1 KB)
Attached To
Mode
D31609: crunchide: static'ify remaining non-exported functions
Attached
Detach File
Event Timeline
Log In to Comment