summaryrefslogtreecommitdiff
path: root/libparted/fs/r/fat/calc.c
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright statements to 2022Brian C. Lane2023-03-241-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2022Brian C. Lane2022-03-231-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2021Brian C. Lane2021-01-181-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-111-1/+1
| | | | By running make update-copyright
* libparted/fs: Fix GCC warnings suggesting pure for PED_ASSERT functionsBrian C. Lane2020-11-201-6/+6
| | | | | | | There was some question about whether or not pure should be used for functions with PED_ASSERT (or exit) in them. It should be fine, since the values checked by the ASSERT are passed to the function directly. Behavior should be exactly the same for the same inputs.
* libparted: Fix warnings from GCC 8 -Wsuggest-attribute=constShin'ichiro Kawasaki2020-11-201-7/+7
| | | | | | | | | | | | | As GCC 8 suggests, add 'const' attribute to six functions. After adding const attributes, GCC suggested two more functions to add const attributes. Add const attributes to those functions also. In total, add const attributes to 8 functions. I read code of the functions and confirmed they are const: they examine only their arguments and have no effect other than return value. Signed-off-by: Shin'ichiro Kawasaki <kawasaki@juno.dti.ne.jp> Signed-off-by: Brian C. Lane <bcl@redhat.com>
* libparted: Fix warnings from GCC 8 -Wsuggest-attribute=pureShin'ichiro Kawasaki2020-11-201-2/+2
| | | | | | | | | | | | | | As GCC 8 suggests, add 'pure' attribute to 17 functions. After adding pure attributes, GCC suggested three more functions to add pure attributes. Add pure attribute to those functions also. In total, add pure attributes to 20 functions. I read code of the functions and confirmed the 20 functions are pure: they have no effect except the return value, and their return value depend only on the parameters and/or global variables. Signed-off-by: Shin'ichiro Kawasaki <kawasaki@juno.dti.ne.jp> Signed-off-by: Brian C. Lane <bcl@redhat.com>
* maint: Update copyright statements to 2019Brian C. Lane2019-08-121-2/+2
| | | | By running make update-copyright
* maint: run "make update-copyright"Jim Meyering2014-05-251-1/+1
|
* maint: update all copyright year number rangesJim Meyering2013-01-061-1/+1
| | | | Run "make update-copyright".
* maint: update copyrights in r/Jim Meyering2012-02-101-1/+1
|
* lib-fs-resize: re-add HFS and FAT file-system-related codeJim Meyering2012-02-071-0/+433
This just adds the code, without hooking it up yet. * po/POTFILES.in: Add all libparted/fs/r/**.c files.