Projects
Browse Source     Search     Timeline     Wiki

Changeset 23462

Show
Ignore:
Timestamp:
12/07/07 16:02:39 (12 months ago)
Author:
zarzycki@…
Message:

Turn -Wpadded back on.

Location:
trunk/launchd/src
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/Makefile.am

    r23450 r23462  
    1 AM_CFLAGS = -F/System/Library/PrivateFrameworks -Wall -Wextra -Waggregate-return -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror -D__MigTypeCheck=1 -fvisibility=hidden -freorder-blocks -Dmig_external=__private_extern__ 
     1AM_CFLAGS = -F/System/Library/PrivateFrameworks -Wall -Wextra -Waggregate-return -Wshadow -Wpadded -Wmissing-prototypes -Wmissing-declarations -Werror -D__MigTypeCheck=1 -fvisibility=hidden -freorder-blocks -Dmig_external=__private_extern__ 
    22 
    33CLEANFILES = protocol_vproc.h protocol_vprocServer.c protocol_vprocUser.c protocol_vprocServer.h                \ 
     
    4040sysconf_DATA = hostconfig rc.common rc.netboot 
    4141 
    42 launchctl_CFLAGS = $(AM_CFLAGS) -I/System/Library/Frameworks/System.framework/PrivateHeaders 
     42launchctl_CFLAGS = $(AM_CFLAGS) -isystem /System/Library/Frameworks/System.framework/PrivateHeaders 
    4343launchctl_LDFLAGS = -framework CoreFoundation -framework IOKit -framework Security -weak_library /usr/lib/libedit.dylib 
    4444 
  • trunk/launchd/src/Makefile.in

    r23450 r23462  
    239239top_builddir = @top_builddir@ 
    240240top_srcdir = @top_srcdir@ 
    241 AM_CFLAGS = -F/System/Library/PrivateFrameworks -Wall -Wextra -Waggregate-return -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror -D__MigTypeCheck=1 -fvisibility=hidden -freorder-blocks -Dmig_external=__private_extern__ 
     241AM_CFLAGS = -F/System/Library/PrivateFrameworks -Wall -Wextra -Waggregate-return -Wshadow -Wpadded -Wmissing-prototypes -Wmissing-declarations -Werror -D__MigTypeCheck=1 -fvisibility=hidden -freorder-blocks -Dmig_external=__private_extern__ 
    242242CLEANFILES = protocol_vproc.h protocol_vprocServer.c protocol_vprocUser.c protocol_vprocServer.h                \ 
    243243             launchd_internal.h launchd_internalServer.h launchd_internalServer.c launchd_internalUser.c        \ 
     
    250250@LIBS_ONLY_TRUE@liblaunch_profile_a_SOURCES = liblaunch.c libvproc.c libbootstrap.c protocol_vprocUser.c __version.c 
    251251@LIBS_ONLY_FALSE@sysconf_DATA = hostconfig rc.common rc.netboot 
    252 @LIBS_ONLY_FALSE@launchctl_CFLAGS = $(AM_CFLAGS) -I/System/Library/Frameworks/System.framework/PrivateHeaders 
     252@LIBS_ONLY_FALSE@launchctl_CFLAGS = $(AM_CFLAGS) -isystem /System/Library/Frameworks/System.framework/PrivateHeaders 
    253253@LIBS_ONLY_FALSE@launchctl_LDFLAGS = -framework CoreFoundation -framework IOKit -framework Security -weak_library /usr/lib/libedit.dylib 
    254254@LIBS_ONLY_FALSE@SystemStarter_CFLAGS = -mdynamic-no-pic $(AM_CFLAGS) 
  • trunk/launchd/src/launchd_core_logic.c

    r23454 r23462  
    117117struct mspolicy { 
    118118        SLIST_ENTRY(mspolicy) sle; 
    119         unsigned int            allow:1, per_pid:1; 
     119        unsigned int            allow:1, per_pid:1, __junk:30; 
    120120        const char              name[0]; 
    121121}; 
     
    135135        unsigned int            gen_num; 
    136136        mach_port_name_t        port; 
    137         unsigned int            isActive:1, reset:1, recv:1, hide:1, kUNCServer:1, per_user_hack:1, debug_on_close:1, per_pid:1, special_port_num:10; 
     137        unsigned int            isActive:1, reset:1, recv:1, hide:1, kUNCServer:1, 
     138                                        per_user_hack:1, debug_on_close:1, per_pid:1, special_port_num:24; 
    138139        const char              name[0]; 
    139140}; 
     
    271272        unsigned int hopefully_first_cnt; 
    272273        unsigned int normal_active_cnt; 
    273         unsigned int sent_stop_to_normal_jobs:1, sent_stop_to_hopefully_last_jobs:1, shutting_down:1, session_initialized:1; 
     274        unsigned int sent_stop_to_normal_jobs:1, sent_stop_to_hopefully_last_jobs:1, shutting_down:1, session_initialized:1, __junk:28; 
    274275        char name[0]; 
    275276}; 
     
    354355        uint32_t min_run_time; 
    355356        uint32_t start_interval; 
    356         unsigned int checkedin:1, anonymous:1, debug:1, inetcompat:1, inetcompat_wait:1, 
     357        unsigned short checkedin:1, anonymous:1, debug:1, inetcompat:1, inetcompat_wait:1, 
    357358                     ondemand:1, session_create:1, low_pri_io:1, no_init_groups:1, priv_port_has_senders:1, 
    358                      importing_global_env:1, importing_hard_limits:1, setmask:1, legacy_mach_job:1, start_pending:1; 
    359         mode_t mask; 
    360         unsigned int globargv:1, wait4debugger:1, internal_exc_handler:1, stall_before_exec:1, only_once:1, 
     359                     importing_global_env:1, importing_hard_limits:1, setmask:1, legacy_mach_job:1, start_pending:1, 
     360                     globargv:1, wait4debugger:1, internal_exc_handler:1, stall_before_exec:1, only_once:1, 
    361361                     currently_ignored:1, forced_peers_to_demand_mode:1, setnice:1, hopefully_exits_last:1, removal_pending:1, 
    362362                     legacy_LS_job:1, sent_sigkill:1, debug_before_kill:1, weird_bootstrap:1, start_on_mount:1, 
    363363                     per_user:1, hopefully_exits_first:1, deny_unknown_mslookups:1, unload_at_mig_return:1, abandon_pg:1, 
    364                      poll_for_vfs_changes:1; 
     364                     poll_for_vfs_changes:1, __junk:12; 
     365        mode_t mask; 
    365366        const char label[0]; 
    366367}; 
  • trunk/launchd/src/liblaunch.c

    r23378 r23462  
    139139        size_t  recvfdcnt; 
    140140        int     fd; 
     141#if __LP64__ 
     142        int     __pad; 
     143#endif 
    141144}; 
    142145