open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/fbc_Modes.c
changeset 1295 0d6f24cf4163
parent 1117 629ac4b133bc
child 1515 e2b80dc10eaa
--- a/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/fbc_Modes.c	Sat May 26 12:04:58 2012 +0900
+++ b/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/fbc_Modes.c	Wed May 30 13:19:01 2012 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -177,7 +177,7 @@
 
 	modes_sectn_ptr = xf86findModes("SunModes", configIR->conf_modes_lst);
 	if (modes_sectn_ptr == NULL) 
-		return;
+		return FALSE;
 
 	modes = modes_sectn_ptr->mon_modeline_lst;
 	ptr = modes;
@@ -211,7 +211,7 @@
  * removes the external representation of the device specific SunModes section
  */
 
-int
+void
 fbc_remove_monitor_sunmodes_section_ER(
 	XF86ConfigPtr		configIR,
         XF86ConfMonitorPtr 	monitor_sectn_ptr  /* Ptr to Monitor section IR */
@@ -245,7 +245,7 @@
  * removes the device specific use SunModes entry from the external representation
  */
 
-int
+void
 fbc_remove_monitor_usemodes_entry_ER(
 	XF86ConfigPtr		configIR,
         XF86ConfMonitorPtr 	monitor_sectn_ptr  /* Ptr to Monitor section IR */