Browse Source

u-a: Mark struct altdb_context bad_format() member as not returning

Guillem Jover 13 years ago
parent
commit
f2d4fc28ed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      utils/update-alternatives.c

+ 2 - 2
utils/update-alternatives.c

@@ -1038,8 +1038,8 @@ struct altdb_context {
 	char *filename;
 	enum altdb_flags flags;
 	bool modified;
-	void DPKG_ATTR_PRINTF(2) (*bad_format)(struct altdb_context *,
-	                                       const char *format, ...);
+	void DPKG_ATTR_NORET DPKG_ATTR_PRINTF(2)
+	     (*bad_format)(struct altdb_context *, const char *format, ...);
 	jmp_buf on_error;
 };