diff options
author | Jim Meyering <meyering@redhat.com> | 2008-05-11 08:47:35 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-05-17 12:53:29 +0200 |
commit | 440e6f0cf9c8421ccd4576171d0c8b916cd681f0 (patch) | |
tree | d5a3664f5e2b8c50027eec3c5f11a041c09a4765 /libidu/idfile.h | |
parent | ff085957e84f5789871521a11b44afa27a48d72d (diff) | |
download | idutils-440e6f0cf9c8421ccd4576171d0c8b916cd681f0.tar.gz idutils-440e6f0cf9c8421ccd4576171d0c8b916cd681f0.tar.bz2 idutils-440e6f0cf9c8421ccd4576171d0c8b916cd681f0.zip |
tighten scope in libidu/, too
Mark with "extern" the symbols that belong that way.
Make the others static.
* libidu/dynvec.h (dv_fill):
* libidu/fnprint.c (cw_dlink):
* libidu/hash.h (qsort_cmp_t):
* libidu/idfile.h (io_func_t):
* libidu/scanners.c (lang_args_obstack, languages_0, languages_N):
(language_help_me, language_getopt, get_language):
(lang_args_index):
* libidu/walker.c (largest_member_file):
* maint.mk (extract_char, today):
* src/fid.c (long_options):
* src/fnid.c (cw_dlink):
* src/lid.c (cw_dlink):
* src/xtokid.c (cw_dlink):
Diffstat (limited to 'libidu/idfile.h')
-rw-r--r-- | libidu/idfile.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libidu/idfile.h b/libidu/idfile.h index 1e3b176..31d27a9 100644 --- a/libidu/idfile.h +++ b/libidu/idfile.h @@ -1,5 +1,5 @@ /* idfile.h -- decls for ID file header and constituent file names - Copyright (C) 1986, 1995, 1996, 1999, 2007 Free Software Foundation, Inc. + Copyright (C) 1986, 1995, 1996, 1999, 2007, 2008 Free Software Foundation, Inc. Written by Greg McGary <gkm@gnu.ai.mit.edu> This program is free software; you can redistribute it and/or modify @@ -175,7 +175,7 @@ extern struct file_link **maybe_read_id_file (char const *id_file_name, struct i extern int read_idhead (struct idhead *idhp); extern int write_idhead (struct idhead *idhp); extern int sizeof_idhead (void); -struct file_link *init_walker (struct idhead *idhp); +extern struct file_link *init_walker (struct idhead *idhp); extern void init_idh_obstacks (struct idhead *idhp); extern void init_idh_tables (struct idhead *idhp); @@ -195,10 +195,9 @@ extern enum separator_style parse_separator_style (char const *arg); extern void walk_flink (struct file_link *flink, struct dynvec *sub_dirs_vec); extern int chdir_to_link (struct file_link* dir_link); -void prune_file_names (char *str, struct file_link *from_link); -char **vectorize_string (char *string, char const *delimiter_class); -void include_languages (char *lang_names); -void exclude_languages (char *lang_names); +extern void prune_file_names (char *str, struct file_link *from_link); +extern void include_languages (char *lang_names); +extern void exclude_languages (char *lang_names); extern char *absolute_file_name (char *buffer, struct file_link const *flink); extern char *maybe_relative_file_name (char *buffer, struct file_link const *to_link, struct file_link const *from_link); |