diff options
Diffstat (limited to 'src/filename_list.cxx')
| -rw-r--r-- | src/filename_list.cxx | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/src/filename_list.cxx b/src/filename_list.cxx index 0cd2a551c..2ad240996 100644 --- a/src/filename_list.cxx +++ b/src/filename_list.cxx @@ -1,6 +1,4 @@ // -// "$Id$" -// // Filename list routines for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2018 by Bill Spitzak and others. @@ -9,11 +7,11 @@ // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // -// http://www.fltk.org/COPYING.php +// https://www.fltk.org/COPYING.php // -// Please report all bugs and problems on the following page: +// Please see the following page on how to report bugs and issues: // -// http://www.fltk.org/str.php +// https://www.fltk.org/bugs.php // // Wrapper for scandir with const-correct function prototypes. @@ -72,26 +70,22 @@ int fl_filename_list(const char *d, dirent ***list, Fl_File_Sort_F *sort) { /** \brief Free the list of filenames that is generated by fl_filename_list(). - + Free everything that was allocated by a previous call to fl_filename_list(). Use the return values as parameters for this function. - + \param[in,out] list table containing the resulting directory listing \param[in] n number of entries in the list */ void fl_filename_free_list(struct dirent ***list, int n) { if (n<0) return; - + int i; for (i = 0; i < n; i ++) { if ((*list)[i]) free((*list)[i]); - } + } free(*list); *list = 0; } - -// -// End of "$Id$". -// |
