gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27578 - Extractor/src/main


From: gnunet
Subject: [GNUnet-SVN] r27578 - Extractor/src/main
Date: Tue, 25 Jun 2013 14:26:14 +0200

Author: grothoff
Date: 2013-06-25 14:26:14 +0200 (Tue, 25 Jun 2013)
New Revision: 27578

Modified:
   Extractor/src/main/extract.c
Log:
-use static where possible

Modified: Extractor/src/main/extract.c
===================================================================
--- Extractor/src/main/extract.c        2013-06-25 12:20:42 UTC (rev 27577)
+++ Extractor/src/main/extract.c        2013-06-25 12:26:14 UTC (rev 27578)
@@ -597,7 +597,7 @@
 
 
 #ifdef WINDOWS
-int
+static int
 _wchar_to_str (const wchar_t *wstr, char **retstr, UINT cp)
 {
   char *str;
@@ -628,6 +628,7 @@
 }
 #endif
 
+
 /**
  * Makes a copy of argv that consists of a single memory chunk that can be
  * freed with a single call to free ();
@@ -653,6 +654,7 @@
   return (char **) new_argv;
 }
 
+
 /**
  * Returns utf-8 encoded arguments.
  * Returned argv has u8argv[u8argc] == NULL.
@@ -665,7 +667,7 @@
  * @param u8argv a location to store new argv in
  * @return 0 on success, -1 on failure
  */
-int
+static int
 _get_utf8_args (int argc, char *const *argv, int *u8argc, char ***u8argv)
 {
 #ifdef WINDOWS
@@ -712,6 +714,7 @@
   return 0;
 }
 
+
 /**
  * Main function for the 'extract' tool.  Invoke with a list of
  * filenames to extract keywords from.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]