File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 3
3
* Use hashes to speed things up
4
4
*/
5
5
6
- #include <glib.h>
7
- #include "config.h"
8
- #include <pwd.h>
9
- #include <grp.h>
10
-
11
- #include <stdio.h>
6
+ #include "rdup.h"
12
7
13
8
/* lookup the uid belonging to username
14
9
* if the uid is not found, return uid_given
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ main(int argc, char **argv)
132
132
struct sigaction sa ;
133
133
char pwd [BUFSIZE + 1 ];
134
134
int c ;
135
+ guint i ;
135
136
char * path ;
136
137
137
138
#ifdef ENABLE_NLS
@@ -205,7 +206,6 @@ main(int argc, char **argv)
205
206
opt_path_strip = g_strdup_printf ("%s/" , opt_path_strip );
206
207
207
208
/* count the number of labels */
208
- guint i ;
209
209
for (i = 0 ; i < strlen (opt_path_strip ); i ++ ) {
210
210
if (opt_path_strip [i ] == '/' )
211
211
opt_path_strip_len ++ ;
You can’t perform that action at this time.
0 commit comments