]> git.ipfire.org Git - people/ms/suricata.git/commit - src/util-device.c
Enforce function coding standard
authorKen Steele <ken@tilera.com>
Wed, 30 Jul 2014 18:19:35 +0000 (14:19 -0400)
committerKen Steele <ken@tilera.com>
Wed, 30 Jul 2014 18:19:35 +0000 (14:19 -0400)
commit8f1d75039a1378aed62c3d27578a954c0a4ccce6
tree58eebe17b58f794bea59424574ce119e2acdb542
parentde4e2221d8e9dc43f07c867caaad5e42f16a96b7
Enforce function coding standard

Functions should be defined as:

int foo(void)
{
}

Rather than:
int food(void) {
}

All functions where changed by a script to match this standard.
230 files changed:
src/alert-debuglog.c
src/alert-fastlog.c
src/alert-prelude.c
src/alert-syslog.c
src/app-layer-dcerpc-udp.c
src/app-layer-dcerpc.c
src/app-layer-dns-common.c
src/app-layer-dns-tcp.c
src/app-layer-dns-udp.c
src/app-layer-ftp.c
src/app-layer-htp-file.c
src/app-layer-htp.c
src/app-layer-parser.c
src/app-layer-smb.c
src/app-layer-smb2.c
src/app-layer-ssh.c
src/app-layer.c
src/decode-gre.c
src/decode-icmpv4.c
src/decode-icmpv6.c
src/decode-ipv4.c
src/decode-ipv6.c
src/decode-ppp.c
src/decode-pppoe.c
src/decode-raw.c
src/decode-vlan.c
src/defrag-hash.c
src/defrag-queue.c
src/defrag-timeout.c
src/defrag.c
src/detect-ack.c
src/detect-asn1.c
src/detect-bytejump.c
src/detect-bytetest.c
src/detect-content.c
src/detect-csum.c
src/detect-depth.c
src/detect-detection-filter.c
src/detect-distance.c
src/detect-dns-query.c
src/detect-dsize.c
src/detect-engine-address-ipv6.c
src/detect-engine-address.c
src/detect-engine-alert.c
src/detect-engine-analyzer.c
src/detect-engine-event.c
src/detect-engine-hhd.c
src/detect-engine-iponly.c
src/detect-engine-mpm.c
src/detect-engine-payload.c
src/detect-engine-port.c
src/detect-engine-proto.c
src/detect-engine-siggroup.c
src/detect-engine-state.c
src/detect-engine-tag.c
src/detect-engine-threshold.c
src/detect-engine.c
src/detect-file-data.c
src/detect-fileext.c
src/detect-filemagic.c
src/detect-filemd5.c
src/detect-filename.c
src/detect-filesize.c
src/detect-filestore.c
src/detect-flags.c
src/detect-flow.c
src/detect-flowbits.c
src/detect-flowvar.c
src/detect-fragbits.c
src/detect-fragoffset.c
src/detect-ftpbounce.c
src/detect-geoip.c
src/detect-gid.c
src/detect-http-client-body.c
src/detect-http-cookie.c
src/detect-http-method.c
src/detect-http-server-body.c
src/detect-http-stat-code.c
src/detect-http-stat-msg.c
src/detect-http-uri.c
src/detect-icmp-id.c
src/detect-icmp-seq.c
src/detect-icode.c
src/detect-id.c
src/detect-ipopts.c
src/detect-ipproto.c
src/detect-iprep.c
src/detect-isdataat.c
src/detect-itype.c
src/detect-l3proto.c
src/detect-luajit-extensions.c
src/detect-luajit.c
src/detect-mark.c
src/detect-metadata.c
src/detect-msg.c
src/detect-noalert.c
src/detect-offset.c
src/detect-parse.c
src/detect-pcre.c
src/detect-pkt-data.c
src/detect-pktvar.c
src/detect-rawbytes.c
src/detect-replace.c
src/detect-rev.c
src/detect-rpc.c
src/detect-seq.c
src/detect-sid.c
src/detect-ssh-proto-version.c
src/detect-ssh-software-version.c
src/detect-ssl-state.c
src/detect-ssl-version.c
src/detect-stream_size.c
src/detect-threshold.c
src/detect-tls-version.c
src/detect-tls.c
src/detect-ttl.c
src/detect-uricontent.c
src/detect-urilen.c
src/detect-window.c
src/detect-within.c
src/detect.c
src/flow-manager.c
src/flow-private.h
src/flow-storage.c
src/flow-timeout.c
src/flow-var.c
src/flow.h
src/host-queue.c
src/host-storage.c
src/host-timeout.c
src/host.c
src/log-dnslog.c
src/log-droplog.c
src/log-file.c
src/log-filestore.c
src/log-httplog.c
src/log-pcap.c
src/log-tlslog.c
src/output-file.c
src/output-filedata.c
src/output-flow.c
src/output-json-alert.c
src/output-json-dns.c
src/output-json-drop.c
src/output-json-file.c
src/output-json-flow.c
src/output-json-http.c
src/output-json-netflow.c
src/output-json-ssh.c
src/output-json-tls.c
src/output-json.c
src/output-packet.c
src/output-tx.c
src/output.c
src/packet-queue.c
src/pkt-var.c
src/reputation.c
src/runmode-napatech.c
src/source-af-packet.c
src/source-ipfw.c
src/source-napatech.c
src/source-nflog.c
src/source-nfq.c
src/source-pcap-file.c
src/source-pcap.c
src/source-pfring.c
src/stream-tcp-inline.c
src/stream-tcp-reassemble.c
src/stream-tcp-sack.c
src/stream-tcp-sack.h
src/stream-tcp-util.c
src/stream-tcp.c
src/stream-tcp.h
src/stream.c
src/suricata.c
src/threads.c
src/tm-modules.c
src/tm-queuehandlers.c
src/tm-queues.c
src/tm-threads.c
src/tmqh-nfq.c
src/tmqh-packetpool.c
src/tmqh-ringbuffer.c
src/tmqh-simple.c
src/util-action.c
src/util-affinity.c
src/util-bloomfilter-counting.c
src/util-bloomfilter.c
src/util-bloomfilter.h
src/util-byte.c
src/util-cidr.c
src/util-daemon.c
src/util-device.c
src/util-file.c
src/util-fmemopen.c
src/util-hash.c
src/util-hashlist.c
src/util-memcmp.c
src/util-memcmp.h
src/util-memrchr.c
src/util-misc.c
src/util-mpm-b2g.c
src/util-mpm-b2gc.c
src/util-mpm-b2gm.c
src/util-mpm-b3g.c
src/util-mpm-wumanber.c
src/util-mpm.c
src/util-path.c
src/util-pidfile.c
src/util-pool-thread.c
src/util-pool.c
src/util-print.c
src/util-privs.c
src/util-profiling-keywords.c
src/util-profiling-locks.c
src/util-profiling-rules.c
src/util-profiling.c
src/util-radix-tree.c
src/util-random.c
src/util-ringbuffer.c
src/util-rohash.c
src/util-runmodes.c
src/util-spm-bm.c
src/util-spm-bs.c
src/util-spm-bs2bm.c
src/util-spm.c
src/util-threshold-config.c
src/util-unittest-helper.c
src/util-unittest.c
src/util-var-name.c