Skip to content

Commit

Permalink
gadu: fix copy/paste errors, add include to remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Seltzer committed Dec 8, 2012
1 parent 5cc880b commit 5b3dc09
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/common/findgitdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
# include <sys/stat.h>
#endif /* HAVE_SYS_STAT_H */

/* local headers */
#include <common/findgitdir.h>

/* find the depth of the .git dir from the given path
*
* path - path to look in
Expand Down
4 changes: 2 additions & 2 deletions src/gadu-src/opts.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ int procopts(int argc, char *argv[]){

/* global program options, generally set by the command line */
char *opt_progname; /* holds the program's name */
char *opt_bytes=0; /* whether to output bytes or blocks */
char *opt_summarize=0; /* only display output for command line arguments */
char opt_bytes=0; /* whether to output bytes or blocks */
char opt_summarize=0; /* only display output for command line arguments */
4 changes: 2 additions & 2 deletions src/gadu-src/opts.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int procopts(int argc, char *argv[]);

/* program wide options, generally set by the command line */
extern char *opt_progname; /* holds the executable's name */
extern char *opt_bytes; /* whether to output bytes or blocks */
extern char *opt_summarize; /* only display output for command line arguments */
extern char opt_bytes; /* whether to output bytes or blocks */
extern char opt_summarize; /* only display output for command line arguments */

#endif /* __OPTS_H__ */

0 comments on commit 5b3dc09

Please sign in to comment.