haiku/headers/os
PulkoMandy 7d5b913b51 BCatalog: declare GetString as format_printf function
This tells the compiler that this function takes a format string as a
parameter, and returns a "similar" string with the same formatting
operations. This allows the format string to "propagate" to prinf-file
functions (including BString::SetToFormat) and the format string to be
actually checked with the arguments passed to that function.

Without this, all translated strings were not checked to match with
their arguments.

Change-Id: I5c3c5cbfe7dfede9a6f45cad47a7524f9138fac0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7663
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-05-03 16:38:23 +00:00
..
add-ons Refactor touchpad movement generation by migrating MovementMaker to userland. 2022-07-18 16:00:29 +00:00
app headers/os: Make headers generator-friendly 2023-07-11 14:40:02 +00:00
arch kernel/arch/user_debugger: implement for risv64 2021-08-06 15:42:49 +00:00
be_apps
bluetooth L2CAP: Major refactor of the whole component. 2024-05-01 00:25:43 -04:00
device USB: Move usb_iso_packet_descriptor to a separate header. 2021-09-02 16:00:17 +00:00
drivers pcmcia: fix compilation warnings and errors 2024-04-15 16:02:49 +00:00
game
interface BFont: remove default values from ambiguous method 2024-03-10 09:18:45 +00:00
kernel elf: add PT_RISCV_ATTRIBUTES program header 2023-09-25 15:20:13 +00:00
locale BCatalog: declare GetString as format_printf function 2024-05-03 16:38:23 +00:00
mail
media Enable some more Werror and fix compiler warnings 2022-04-22 14:25:48 +00:00
midi
midi2
net BNetworkDevice: Remove GetNextNetwork. 2023-03-29 20:15:32 -04:00
package kits/package: allow to set BPackageResolvable to parsed string 2024-03-28 14:37:49 +00:00
storage finddir: Add SYSTEM_DESKBAR_DIRECTORY 2024-04-13 14:03:35 +00:00
support Merge remote-tracking branch 'origin/master' into dev/netservices 2022-09-04 07:30:59 +01:00
translation Tracker: Add thumbnail support 2021-08-27 11:39:13 +00:00
AppKit.h
Be.h
BeBuild.h headers/os: Bump max gcc to 14.x 2024-03-30 15:01:16 +00:00
DeviceKit.h
GameKit.h
InterfaceKit.h headers/os: Add missing Interface Kit includes 2024-01-28 20:36:07 +00:00
KernelKit.h
LocaleKit.h
MailKit.h
MediaKit.h
MidiKit.h
NetKit.h
NetworkKit.h headers/NetworkKit: Drop now-private service calls from NetworkKit.h 2022-05-13 16:01:15 +00:00
StorageKit.h
SupportKit.h headers/os: Make headers generator-friendly 2023-07-11 14:40:02 +00:00
TranslationKit.h