Coding Guidelines/Compiler Features

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)

Jump to: navigation, search

Amanda assumes the following are available during compilation:

We work hard to eliminate compiler warnings. The glib symbol G_GNUC_UNUSED can be used to avoid warnings about unused parameters:

my_callback(int fd, G_GNUC_UNUSED user_data) { ... }
Personal tools